Uses of Interface
dev.failsafe.function.CheckedRunnable
Packages that use CheckedRunnable
-
Uses of CheckedRunnable in dev.failsafe
Fields in dev.failsafe declared as CheckedRunnableMethods in dev.failsafe with parameters of type CheckedRunnableModifier and TypeMethodDescriptionstatic <R> FallbackBuilder
<R> Fallback.builder
(CheckedRunnable fallback) Returns thefallback
to be executed if execution fails.static <R> Fallback
<R> Fallback.of
(CheckedRunnable fallback) Returns thefallback
to be executed if execution fails.void
ExecutionContext.onCancel
(CheckedRunnable cancelCallback) Sets thecancelCallback
to be called if the execution is cancelled, such as by the resultingCall
orCompletableFuture
, or aTimeout
.void
ExecutionImpl.onCancel
(CheckedRunnable cancelCallback) void
FailsafeExecutor.run
(CheckedRunnable runnable) Executes therunnable
until successful or until the configured policies are exceeded.FailsafeExecutor.runAsync
(CheckedRunnable runnable) Executes therunnable
asynchronously until successful or until the configured policies are exceeded.(package private) static ContextualSupplier
<Void, Void> Functions.toCtxSupplier
(CheckedRunnable runnable) (package private) static <T,
R> CheckedFunction <T, R> Functions.toFn
(CheckedRunnable runnable)