public abstract class AbstractRetryStrategy extends Object implements RetryStrategy
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
hasNextAttempt |
protected int |
totalTimes |
| 构造器和说明 |
|---|
AbstractRetryStrategy(int totalTimes,
boolean hasNextAttempt) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNextAttempt()
Return the next attempt should execute or not.
|
void |
stopFollowingAttempts()
Stop the following attempts when test succeed or failed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleExceptionpublic boolean hasNextAttempt()
RetryStrategyhasNextAttempt 在接口中 RetryStrategypublic void stopFollowingAttempts()
RetryStrategystopFollowingAttempts 在接口中 RetryStrategyCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.