| Package | Description |
|---|---|
| net.jodah.recurrent | |
| net.jodah.recurrent.event |
| Modifier and Type | Class and Description |
|---|---|
class |
AsyncExecution
Tracks asynchronous executions and allows retries to be scheduled according to a
RetryPolicy. |
class |
Execution
Tracks executions and determines when an execution can be performed for a
RetryPolicy. |
| Modifier and Type | Method and Description |
|---|---|
T |
ContextualCallable.call(ExecutionStats stats) |
void |
Listeners.onComplete(T result,
Throwable failure,
ExecutionStats stats)
Called when an execution is completed.
|
void |
Listeners.onFailedAttempt(T result,
Throwable failure,
ExecutionStats stats)
Called after a failed attempt.
|
void |
Listeners.onFailure(T result,
Throwable failure,
ExecutionStats stats)
Called after the retry policy is exceeded and the result is a failure.
|
void |
Listeners.onRetry(T result,
Throwable failure,
ExecutionStats stats)
Called before a retry is attempted.
|
void |
Listeners.onSuccess(T result,
ExecutionStats stats)
Called after a successful execution.
|
void |
ContextualRunnable.run(ExecutionStats stats) |
| Modifier and Type | Method and Description |
|---|---|
void |
ContextualResultListener.onResult(R result,
F failure,
ExecutionStats stats)
Handles an execution result.
|
void |
ContextualSuccessListener.onSuccess(R result,
ExecutionStats stats)
Handles the successful completion of a call.
|
Copyright © 2016. All Rights Reserved.