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()
constructor(minDelayInSec: Int, maxDelayInSec: Int)
constructor(minDelayInSec: Int, maxDelayInSec: Int, maxRetryNumber: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
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.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int