| Package | Description |
|---|---|
| ratpack.exec |
The execution management.
|
| ratpack.exec.util.retry |
| Modifier and Type | Method and Description |
|---|---|
default Promise<T> |
Promise.retry(RetryPolicy retryPolicy,
BiAction<? super java.lang.Integer,? super java.lang.Throwable> onError)
Causes
this yielding the promised value to be retried on error, under the rules of provided retryPolicy. |
| Modifier and Type | Class and Description |
|---|---|
class |
AttemptRetryPolicy
An attempt based implementation of
RetryPolicy. |
class |
DurationRetryPolicy
A duration based implementation of
RetryPolicy. |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy |
AttemptRetryPolicy.increaseAttempt()
Increase number of attempts.
|
RetryPolicy |
RetryPolicy.increaseAttempt()
Increase number of attempts.
|
RetryPolicy |
DurationRetryPolicy.increaseAttempt()
Increase number of attempts.
|