Package | Description |
---|---|
dev.failsafe |
APIs for performing failsafe executions.
|
Modifier and Type | Method and Description |
---|---|
Call<Void> |
FailsafeExecutor.newCall(ContextualRunnable<Void> runnable)
Returns a call that can execute the
runnable until a successful result is returned or the configured
policies are exceeded. |
void |
FailsafeExecutor.run(ContextualRunnable<Void> runnable)
Executes the
runnable until successful or until the configured policies are exceeded. |
CompletableFuture<Void> |
FailsafeExecutor.runAsync(ContextualRunnable<Void> runnable)
Executes the
runnable asynchronously until successful or until the configured policies are exceeded. |
Copyright © 2022. All rights reserved.