| Interface | Description |
|---|---|
| ExceptionRetryAlgorithm |
An exception retry algorithm is responsible for the following operations:
Accepting or rejecting a task for retry depending on the exception thrown by the previous
attempt.
|
| RetryingExecutor<ResponseT> |
A retrying executor is responsible for the following operations:
Creating first attempt
RetryingFuture, which acts as a facade, hiding from client
code the actual execution of scheduled retry attempts. |
| RetryingFuture<ResponseT> |
Represents a retrying future.
|
| TimedRetryAlgorithm |
A timed retry algorithm is responsible for the following operations:
Creating first attempt
TimedAttemptSettings. |
| Class | Description |
|---|---|
| DirectRetryingExecutor<ResponseT> |
The retry executor which executes attempts in the current thread, potentially causing the current
thread to sleep for the specified amount of time before execution.
|
| ExponentialRetryAlgorithm |
The timed retry algorithm which uses randomized exponential backoff factor for calculating the
next attempt execution time.
|
| RetryAlgorithm |
The retry algorithm, which makes decision based on the thrown exception and execution time
settings of the previous attempt.
|
| RetrySettings |
Holds the parameters for retry and timeout logic with exponential backoff.
|
| RetrySettings.Builder |
A base builder class for
RetrySettings. |
| ScheduledRetryingExecutor<ResponseT> |
The retry executor which uses
ScheduledExecutorService to schedule an attempt tasks. |
| TimedAttemptSettings |
Timed attempt execution settings.
|