Interface | Description |
---|---|
DelayPolicy |
An interface that represents a policy that computes the delay between retry
attempts.
|
RetryPolicy |
An interface that provides customizable retry behaviour, both in terms of
determining how many retries will be attempted and the amount of time to wait
between retries.
|
Class | Description |
---|---|
AbstractRetryPolicy |
A base class that provides pluggable delays so that subclasses need only
implement
isRetriable(int, long) . |
ExponentialDelayPolicy |
A policy that specifies an exponentially increasing delay between retry
attempts.
|
FixedDelayPolicy |
A policy that specifies a fixed delay between retry attempts.
|
MaxAttemptRetryPolicy |
A retry policy that enforces a maximum number of retry attempts and a
customizable delay between attempts.
|
MaxTimeRetryPolicy |
A retry policy that enforces a maximum elapsed time for retries and a
customizable delay between attempts.
|
Exception | Description |
---|---|
RetriableException |
An exception wrapper with an associated retry policy.
|