Uses of Interface
ratpack.exec.util.retry.RetryPolicy
-
Packages that use RetryPolicy Package Description ratpack.exec The execution management.ratpack.exec.util.retry -
-
Uses of RetryPolicy in ratpack.exec
Methods in ratpack.exec with parameters of type RetryPolicy Modifier and Type Method Description default Promise<T>
Promise. retry(RetryPolicy retryPolicy, BiAction<? super Integer,? super Throwable> onError)
Causesthis
yielding the promised value to be retried on error, under the rules of providedretryPolicy
.default Promise<T>
Promise. retryIf(Predicate<? super Throwable> predicate, RetryPolicy retryPolicy, BiAction<? super Integer,? super Throwable> onError)
Causesthis
yielding the promised value to be retried on error, under the rules of providedretryPolicy
, and if the givenPredicate
matches the error thrown. -
Uses of RetryPolicy in ratpack.exec.util.retry
Classes in ratpack.exec.util.retry that implement RetryPolicy Modifier and Type Class Description class
AttemptRetryPolicy
An attempt based implementation ofRetryPolicy
.class
DurationRetryPolicy
A duration based implementation ofRetryPolicy
.Methods in ratpack.exec.util.retry that return RetryPolicy Modifier and Type Method Description RetryPolicy
AttemptRetryPolicy. increaseAttempt()
Increase number of attempts.RetryPolicy
DurationRetryPolicy. increaseAttempt()
Increase number of attempts.RetryPolicy
RetryPolicy. increaseAttempt()
Increase number of attempts.
-