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

package.dist.src.config.retry.fixed-timeout-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 FixedTimeoutRetryStrategyProps {
    loggerFactory: MomentoLoggerFactory;
    eligibilityStrategy?: EligibilityStrategy;
    retryDelayIntervalMillis?: number;
    responseDataReceivedTimeoutMillis?: number;
}
export declare class FixedTimeoutRetryStrategy implements RetryStrategy {
    private readonly logger;
    private readonly eligibilityStrategy;
    private readonly retryDelayIntervalMillis;
    readonly responseDataReceivedTimeoutMillis: number;
    constructor(props: FixedTimeoutRetryStrategyProps);
    determineWhenToRetryRequest(props: DeterminewhenToRetryRequestProps): number | null;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy