LinearRetryDelaySupplier

Constructors

Link copied to clipboard
@Inject
constructor()
constructor(delay: Duration)

Functions

Link copied to clipboard
open override fun getDelay(maxRetries: Int, remainingRetries: Int): Duration

Gets a linear delay time regardless of provided parameters

Link copied to clipboard
open override fun maxDuration(maxRetries: Int): Duration

Returns the max duration if all retries are attempted.