Uses of Interface
dev.failsafe.spi.SyncExecutionInternal
-
Packages that use SyncExecutionInternal Package Description dev.failsafe APIs for performing failsafe executions.dev.failsafe.internal dev.failsafe.spi The Failsafe Service Provider Interface (SPI). -
-
Uses of SyncExecutionInternal in dev.failsafe
Classes in dev.failsafe that implement SyncExecutionInternal Modifier and Type Class Description (package private) class
SyncExecutionImpl<R>
SyncExecution and SyncExecutionInternal implementation.Fields in dev.failsafe with type parameters of type SyncExecutionInternal Modifier and Type Field Description private java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
SyncExecutionImpl. outerFn
Constructor parameters in dev.failsafe with type arguments of type SyncExecutionInternal Constructor Description SyncExecutionImpl(FailsafeExecutor<R> executor, Scheduler scheduler, CallImpl<R> call, java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn)
Create a sync execution for theexecutor
. -
Uses of SyncExecutionInternal in dev.failsafe.internal
Methods in dev.failsafe.internal that return types with arguments of type SyncExecutionInternal Modifier and Type Method Description java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
FallbackExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Performs an execution by calling pre-execute else calling the supplier, applying a fallback if it fails, and calling post-execute.java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
RetryPolicyExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
TimeoutExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Schedules a separate timeout call that fails withTimeoutExceededException
if the policy's timeout is exceeded.Method parameters in dev.failsafe.internal with type arguments of type SyncExecutionInternal Modifier and Type Method Description java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
FallbackExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Performs an execution by calling pre-execute else calling the supplier, applying a fallback if it fails, and calling post-execute.java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
RetryPolicyExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
TimeoutExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Schedules a separate timeout call that fails withTimeoutExceededException
if the policy's timeout is exceeded. -
Uses of SyncExecutionInternal in dev.failsafe.spi
Methods in dev.failsafe.spi that return SyncExecutionInternal Modifier and Type Method Description SyncExecutionInternal<R>
SyncExecutionInternal. copy()
Returns a new copy of the SyncExecutionInternal if it is not standalone, else returnsthis
since standalone executions are referenced externally and cannot be replaced.Methods in dev.failsafe.spi that return types with arguments of type SyncExecutionInternal Modifier and Type Method Description java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
PolicyExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Performs an execution by calling pre-execute else calling the supplier and doing a post-execute.Method parameters in dev.failsafe.spi with type arguments of type SyncExecutionInternal Modifier and Type Method Description java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>>
PolicyExecutor. apply(java.util.function.Function<SyncExecutionInternal<R>,ExecutionResult<R>> innerFn, Scheduler scheduler)
Performs an execution by calling pre-execute else calling the supplier and doing a post-execute.
-