The function that maps from outcomes to backoff policies.
The function that maps from outcomes to backoff policies.
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.
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 delegates to another policy that is selected based on the most recently evaluated outcome.
The function that maps from outcomes to backoff policies.