All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.src.config.retry.fixed-count-retry-strategy.d.ts Maven / Gradle / Ivy

The newest version!
import { DeterminewhenToRetryRequestProps, RetryStrategy } from './retry-strategy';
import { EligibilityStrategy } from './eligibility-strategy';
import { MomentoLoggerFactory } from '../../';
export interface FixedCountRetryStrategyProps {
    loggerFactory: MomentoLoggerFactory;
    maxAttempts: number;
    eligibilityStrategy?: EligibilityStrategy;
}
export declare class FixedCountRetryStrategy implements RetryStrategy {
    private readonly logger;
    private readonly eligibilityStrategy;
    private readonly maxAttempts;
    constructor(props: FixedCountRetryStrategyProps);
    determineWhenToRetryRequest(props: DeterminewhenToRetryRequestProps): number | null;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy