| Package | Description |
|---|---|
| net.jodah.failsafe |
Core Failsafe APIs for performing failsafe executions.
|
| Modifier and Type | Method and Description |
|---|---|
F |
FailsafeConfig.onAbort(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called when an execution is aborted. |
F |
AsyncFailsafeConfig.onAbortAsync(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called asynchronously on Failsafe's configured executor or Scheduler when an
execution is aborted according to the retry policy. |
F |
FailsafeConfig.onAbortAsync(ContextualResultListener<? extends R,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously on the executor when an execution is aborted. |
F |
FailsafeConfig.onComplete(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called when an execution is completed. |
F |
AsyncFailsafeConfig.onCompleteAsync(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called asynchronously on Failsafe's configured executor or Scheduler when an
execution is completed. |
F |
FailsafeConfig.onCompleteAsync(ContextualResultListener<? extends R,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously on the executor when an execution is completed. |
F |
FailsafeConfig.onFailedAttempt(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called when an execution attempt fails. |
F |
AsyncFailsafeConfig.onFailedAttemptAsync(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called asynchronously on Failsafe's configured executor or Scheduler after a
failed execution attempt. |
F |
FailsafeConfig.onFailedAttemptAsync(ContextualResultListener<? extends R,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously on the executor when an execution attempt fails. |
F |
FailsafeConfig.onFailure(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called when an execution fails and cannot be retried. |
F |
AsyncFailsafeConfig.onFailureAsync(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called asynchronously on Failsafe's configured executor or Scheduler after a
failure occurs that cannot be retried. |
F |
FailsafeConfig.onFailureAsync(ContextualResultListener<? extends R,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously on the executor when an execution fails and
cannot be retried. |
F |
FailsafeConfig.onRetry(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called before an execution is retried. |
F |
AsyncFailsafeConfig.onRetryAsync(ContextualResultListener<? extends R,? extends Throwable> listener)
Registers the
listener to be called asynchronously on Failsafe's configured executor or Scheduler before a
retry is attempted. |
F |
FailsafeConfig.onRetryAsync(ContextualResultListener<? extends R,? extends Throwable> listener,
ExecutorService executor)
Registers the
listener to be called asynchronously on the executor before an execution is retried. |
Copyright © 2018. All rights reserved.