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 thefallbackto be executed if execution fails.static <R> Fallback<R> Fallback.of(CheckedRunnable fallback) Returns thefallbackto be executed if execution fails.voidExecutionContext.onCancel(CheckedRunnable cancelCallback) Sets thecancelCallbackto be called if the execution is cancelled, such as by the resultingCallorCompletableFuture, or aTimeout.voidExecutionImpl.onCancel(CheckedRunnable cancelCallback) voidFailsafeExecutor.run(CheckedRunnable runnable) Executes therunnableuntil successful or until the configured policies are exceeded.FailsafeExecutor.runAsync(CheckedRunnable runnable) Executes therunnableasynchronously 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)