Uses of Interface
dev.failsafe.function.AsyncRunnable
Packages that use AsyncRunnable
-
Uses of AsyncRunnable in dev.failsafe
Methods in dev.failsafe that return AsyncRunnableModifier and TypeMethodDescription(package private) static <R> AsyncRunnable<R> Functions.withExecutor(AsyncRunnable<R> runnable, Executor executor) Methods in dev.failsafe with parameters of type AsyncRunnableModifier and TypeMethodDescription<T extends R>
CompletableFuture<T> FailsafeExecutor.getAsyncExecution(AsyncRunnable<T> runnable) This method is intended for integration with asynchronous code.(package private) static <R> Function<AsyncExecutionInternal<R>, CompletableFuture<ExecutionResult<R>>> Functions.getPromiseExecution(AsyncRunnable<R> runnable, Executor executor) Returns a Function for asynchronous executions that pre-executes theexecution, runs therunnable, and attempts to complete theexecutionif a failure occurs.FailsafeExecutor.runAsyncExecution(AsyncRunnable<Void> runnable) This method is intended for integration with asynchronous code.(package private) static <R> AsyncRunnable<R> Functions.withExecutor(AsyncRunnable<R> runnable, Executor executor)