Exponential
This class represents an exponential retry policy with a minimum and maximum delay between retries, a maximum number of retries, and a list of operations to exclude from retry attempts.
Constructors
Link copied to clipboard
constructor(minDelayInSec: Int = MIN_DELAY, maxDelayInSec: Int = MAX_DELAY, maxRetryNumber: Int = MAX_RETRIES, excludedOperations: List<RetryableEndpointGroup> = emptyList())
constructor()
Properties
Link copied to clipboard
List of RetryableEndpointGroup to be excluded from retry.
Link copied to clipboard
The maximum delay in seconds between retries.
Link copied to clipboard
The maximum number of retries allowed. Maximum value is 10.
Link copied to clipboard
The minimum delay in seconds between retries. Minimum value is 3 seconds.