ExponentialRetryPolicy constructor
- {required int maxRetries,
- required Duration initialDelayInSeconds,
- required double multiplier,
- required Duration maximumDelayInSeconds}
Default constructor for ExponentialRetryPolicy.
Params:
- maxRetries: the maximum number of retries.
- initialDelayInSeconds: the delay to be waited before executing the first retry.
- multiplier: the multiplier of the delay interval.
- maximumDelayInSeconds: the maximum time interval of the delay in seconds.
Implementation
factory ExponentialRetryPolicy