Interface | Description |
---|---|
Attempt<V> |
An attempt of a call, which resulted either in a result returned by the call,
or in a Throwable thrown by the call.
|
AttemptTimeLimiter<V> |
A rule to wrap any single attempt in a time limit, where it will possibly be interrupted if the limit is exceeded.
|
StopStrategy |
A strategy used to decide if a retryer must stop retrying after a failed attempt or not.
|
WaitStrategy |
A strategy used to decide how long to sleep before retrying after a failed attempt.
|
Class | Description |
---|---|
AttemptTimeLimiters |
Factory class for instances of
AttemptTimeLimiter |
Retryer<V> |
A retryer, which executes a call, and retries it until it succeeds, or
a stop strategy decides to stop retrying.
|
Retryer.RetryerCallable<X> |
A
Callable which wraps another Callable in order to add
retrying behavior from a given Retryer instance. |
RetryerBuilder<V> |
A builder used to configure and create a
Retryer . |
StopStrategies |
Factory class for
StopStrategy instances. |
WaitStrategies |
Factory class for instances of
WaitStrategy . |
Exception | Description |
---|---|
RetryException |
An exception indicating that none of the attempts of the
Retryer
succeeded. |