public class CompositeStopStrategy extends Object implements StopStrategy
| 构造器和说明 |
|---|
CompositeStopStrategy(List<StopStrategy> stopStrategies) |
public CompositeStopStrategy(List<StopStrategy> stopStrategies)
public List<StopStrategy> getStopStrategies()
public boolean shouldStop(Attempt failedAttempt)
StopStrategytrue if the retryer should stop retrying.shouldStop 在接口中 StopStrategyfailedAttempt - the previous failed Attempttrue if the retryer must stop, false otherwiseCopyright © 2019. All rights reserved.