Package-level declarations
Types
Link copied to clipboard
data class ExponentialBackoff(val maxAttempts: Int = DEFAULT_MAX_ATTEMPTS, val initialDelay: Duration = DEFAULT_INITIAL_DELAY, val maxDelay: Duration = DEFAULT_MAX_DELAY, val backoffFactor: Double = DEFAULT_BACKOFF_FACTOR, val jitter: Double = DEFAULT_JITTER) : RetryPolicy
A RetryPolicy that retries every failure with exponentially growing, capped and jittered delays.
Link copied to clipboard
interface RetryPolicy
Decides whether to retry a failed operation, and how long to wait first.