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.
|
BlockStrategy |
This is a strategy used to decide how a retryer should block between retry
attempts.
|
RetryListener |
This listener provides callbacks for several events that occur when running
code through a
Retryer instance. |
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 |
BlockStrategies |
Factory class for
BlockStrategy instances. |
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. |