package.dist.src.config.retry.fixed-count-retry-strategy.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
Client SDK for Momento services
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