public interface StopStrategy
| 限定符和类型 | 方法和说明 |
|---|---|
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 Attempttrue if the retryer must stop, false otherwiseCopyright © 2019. All rights reserved.