| Modifier and Type | Field and Description |
|---|---|
| private final int | maxAttempts
The maximum number of attempts to make. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public boolean | shouldTerminate(WaiterConfiguration.
The context after the last poll attempt. contextImplements com. Returns whether or not polling should be terminated. |
| public String |
| maxAttempts | back to summary |
|---|---|
| private final int maxAttempts The maximum number of attempts to make. | |
| MaxAttemptsTerminationStrategy | back to summary |
|---|---|
public MaxAttemptsTerminationStrategy(final int maxAttempts)
| |
| getMaxAttempts | back to summary |
|---|---|
| public int getMaxAttempts() The maximum number of attempts to make. | |
| shouldTerminate | back to summary |
|---|---|
| public boolean shouldTerminate(WaiterConfiguration. Implements com. Doc from com. Returns whether or not polling should be terminated.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |