| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
<T> RetryPolicy |
RetryPolicy.abortIf(BiPredicate<T,? extends Throwable> completionPredicate)
Specifies that retries should be aborted if the
completionPredicate matches the completion result. |
<T> CircuitBreaker |
CircuitBreaker.failIf(BiPredicate<T,? extends Throwable> completionPredicate)
Specifies that a failure should be recorded if the
completionPredicate matches the completion result. |
<T> RetryPolicy |
RetryPolicy.retryIf(BiPredicate<T,? extends Throwable> completionPredicate)
Specifies that a retry should occur if the
completionPredicate matches the completion result and the retry
policy is not exceeded. |
Copyright © 2018. All rights reserved.