public interface StopStrategy
Modifier and Type | Method and Description |
---|---|
boolean |
shouldStop(Attempt failedAttempt)
Returns
true if the retryer should stop retrying. |
boolean shouldStop(Attempt failedAttempt)
true
if the retryer should stop retrying.failedAttempt
- the previous failed Attempt
true
if the retryer must stop, false
otherwise