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)Causesthisyielding 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)Causesthisyielding the promised value to be retried on error, under the rules of providedretryPolicy, and if the givenPredicatematches 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 classAttemptRetryPolicyAn attempt based implementation ofRetryPolicy.classDurationRetryPolicyA duration based implementation ofRetryPolicy.Methods in ratpack.exec.util.retry that return RetryPolicy Modifier and Type Method Description RetryPolicyAttemptRetryPolicy. increaseAttempt()Increase number of attempts.RetryPolicyDurationRetryPolicy. increaseAttempt()Increase number of attempts.RetryPolicyRetryPolicy. increaseAttempt()Increase number of attempts.
-