Package | Description |
---|---|
dev.failsafe.spi |
The Failsafe Service Provider Interface (SPI).
|
Modifier and Type | Method and Description |
---|---|
AsyncExecutionInternal<R> |
AsyncExecutionInternal.copy()
Returns a new copy of the AsyncExecutionInternal.
|
Modifier and Type | Method and Description |
---|---|
Function<AsyncExecutionInternal<R>,CompletableFuture<ExecutionResult<R>>> |
PolicyExecutor.applyAsync(Function<AsyncExecutionInternal<R>,CompletableFuture<ExecutionResult<R>>> innerFn,
Scheduler scheduler,
FailsafeFuture<R> future)
Performs an async execution by calling pre-execute else calling the supplier and doing a post-execute.
|
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<ExecutionResult<R>> |
PolicyExecutor.postExecuteAsync(AsyncExecutionInternal<R> execution,
ExecutionResult<R> result,
Scheduler scheduler,
FailsafeFuture<R> future)
Performs potentially asynchronous post-execution handling for a
result . |
Modifier and Type | Method and Description |
---|---|
Function<AsyncExecutionInternal<R>,CompletableFuture<ExecutionResult<R>>> |
PolicyExecutor.applyAsync(Function<AsyncExecutionInternal<R>,CompletableFuture<ExecutionResult<R>>> innerFn,
Scheduler scheduler,
FailsafeFuture<R> future)
Performs an async execution by calling pre-execute else calling the supplier and doing a post-execute.
|
Copyright © 2022. All rights reserved.