public interface WaitStrategy
Modifier and Type | Method and Description |
---|---|
long |
computeSleepTime(Attempt failedAttempt)
Returns the time, in milliseconds, to sleep before retrying.
|
long computeSleepTime(Attempt failedAttempt)
failedAttempt
- the previous failed Attempt