RetryStrategy

data class RetryStrategy

Retry strategy used with retryIntentsDecorator and retryActionsDecorator.

Parameters

retries

how many retries should be performed in total. Must be positive.

delay

the initial retry delay. This delay will grow exponentially with base and will be used before first retry if delayInitially is true. Must be >= 0.

base

exponential backoff multiplier. Must be >= 1.

delayInitially

whether the delay should already be applied for the first retry. If not, the first retry will be performed immediately

Types

Link copied to clipboard
object Companion

Defaults

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard