RetryOptions

interface RetryOptions

Interface providing settings for retry logic.

Inheritors

Properties

Link copied to clipboard
abstract val retryCount: Int

The number of times to retry the operation.

Link copied to clipboard

The initial interval for retrying the operation.

Link copied to clipboard

The maximum interval for retrying the operation.

Link copied to clipboard
abstract val retryMultiplier: Double

The multiplier for the next interval.

Link copied to clipboard

The randomization factor for the next interval.

Link copied to clipboard
abstract val retryRandomizer: Random

The random number generator for the next interval.

Link copied to clipboard
abstract val shouldRetry: (Throwable) -> Boolean

Specifies whether to retry the operation.

Functions

Link copied to clipboard

Generates an RetryFn for Exponential Backoff Strategy.