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 uses the same backoff after every retry.