ox.retry.Schedule.Backoff
See theBackoff companion object
A schedule that retries up to a given number of times, with an increasing delay (backoff) between subsequent attempts.
The backoff is exponential with base 2 (i.e. the next delay is twice as long as the previous one), starting at the given initial delay and capped at the given maximum delay.
Value parameters
- initialDelay
-
The delay before the first retry.
- jitter
-
A random factor used for calculating the delay between subsequent retries. See Jitter for more details. Defaults to no jitter, i.e. an exponential backoff with no adjustments.
- maxDelay
-
The maximum delay between subsequent retries.
- maxRetries
-
The maximum number of retries.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article