| 程序包 | 说明 |
|---|---|
| cn.aotcloud.retry |
| 类和说明 |
|---|
| Attempt
An attempt of a call, which resulted either in a result returned by the call,
or in a Throwable thrown by the call.
|
| AttemptTimeLimiter
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.
|
| Retryer
A retryer, which executes a call, and retries it until it succeeds, or
a stop strategy decides to stop retrying.
|
| Retryer.RetryerCallable |
| RetryerBuilder
A builder used to configure and create a
Retryer. |
| RetryException
An exception indicating that none of the attempts of the
Retryer
succeeded. |
| RetryListener
This listener provides callbacks for several events that occur when running
code through a
Retryer instance. |
| SimpleTimeLimiter
A TimeLimiter that runs method calls in the background using an
ExecutorService. |
| StopStrategy
A strategy used to decide if a retryer must stop retrying after a failed attempt or not.
|
| TimeLimiter
Imposes a time limit on method calls.
|
| WaitStrategy
A strategy used to decide how long to sleep before retrying after a failed attempt.
|
Copyright © 2023. All rights reserved.