The base policy to randomize the result of.
The range of values that may be used to modify the result of the base policy.
Computes the next backoff duration using the specified number of attempts and the outcome that caused the operation to consider another attempt.
Computes the next backoff duration using the specified number of attempts and the outcome that caused the operation to consider another attempt.
The number of attempts that have been made so far.
The outcome that caused the operation to consider another attempt.
The base policy to randomize the result of.
The range of values that may be used to modify the result of the base policy.
Computes the next backoff duration using the specified number of attempts and the error that caused the operation to consider another attempt.
Computes the next backoff duration using the specified number of attempts and the error that caused the operation to consider another attempt.
The number of attempts that have been made so far.
The error that caused the operation to consider another attempt.
(Since version 2.1) Use nextBackoff(Int, Try[Any])
A policy that randomizes the result of another policy by adding a random duration in the specified range.
The base policy to randomize the result of.
The range of values that may be used to modify the result of the base policy.