static <R> FallbackBuilder<R> |
Fallback.builder(CheckedRunnable fallback) |
Returns the fallback to be executed if execution fails.
|
static <R> Fallback<R> |
Fallback.of(CheckedRunnable fallback) |
Returns the fallback to be executed if execution fails.
|
void |
ExecutionContext.onCancel(CheckedRunnable cancelCallback) |
Sets the cancelCallback to be called if the execution is cancelled, such as by the resulting Call
or CompletableFuture , or a Timeout .
|
void |
ExecutionImpl.onCancel(CheckedRunnable cancelCallback) |
|
void |
FailsafeExecutor.run(CheckedRunnable runnable) |
Executes the runnable until successful or until the configured policies are exceeded.
|
java.util.concurrent.CompletableFuture<java.lang.Void> |
FailsafeExecutor.runAsync(CheckedRunnable runnable) |
Executes the runnable asynchronously until successful or until the configured policies are exceeded.
|
(package private) static ContextualSupplier<java.lang.Void,java.lang.Void> |
Functions.toCtxSupplier(CheckedRunnable runnable) |
|
(package private) static <T,R> CheckedFunction<T,R> |
Functions.toFn(CheckedRunnable runnable) |
|