The operation will be retried at exponential intervals.

The delay will be incremented by multiplier after each iteration (multiplier = 0.5 means 50% increment).

Hierarchy

Properties

maxRetries: number

The maximum number of retries.

initialDelayInSeconds: number

The delay to be waited before executing the first retry.

multiplier: number

The multiplier of the delay interval.

maximumDelayInSeconds: number

The maximum time interval of the delay in seconds.

Methods

  • Default constructor for ExponentialRetryPolicy.

    Parameters

    • maxRetries: number

      the maximum number of retries.

    • initialDelayInSeconds: number

      the delay to be waited before executing the forst retry.

    • maximumDelayInSeconds: number

      the multiplier of the delay interval.

    • multiplier: number

      the maximum time interval of the delay in seconds.

    Returns ExponentialRetryPolicy

    the created ExponentialRetryPolicy instance.

Generated using TypeDoc