Uses of Interface
dev.failsafe.spi.SyncExecutionInternal
Packages that use SyncExecutionInternal
Package
Description
APIs for performing failsafe executions.
The Failsafe Service Provider Interface (SPI).
-
Uses of SyncExecutionInternal in dev.failsafe
Classes in dev.failsafe that implement SyncExecutionInternalModifier and TypeClassDescription(package private) final classSyncExecution and SyncExecutionInternal implementation.Fields in dev.failsafe with type parameters of type SyncExecutionInternalModifier and TypeFieldDescriptionprivate Function<SyncExecutionInternal<R>, ExecutionResult<R>> SyncExecutionImpl.outerFnConstructor parameters in dev.failsafe with type arguments of type SyncExecutionInternalModifierConstructorDescription(package private)SyncExecutionImpl(FailsafeExecutor<R> executor, Scheduler scheduler, CallImpl<R> call, 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 SyncExecutionInternalModifier and TypeMethodDescriptionFallbackExecutor.apply(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.RetryPolicyExecutor.apply(Function<SyncExecutionInternal<R>, ExecutionResult<R>> innerFn, Scheduler scheduler) TimeoutExecutor.apply(Function<SyncExecutionInternal<R>, ExecutionResult<R>> innerFn, Scheduler scheduler) Schedules a separate timeout call that fails withTimeoutExceededExceptionif the policy's timeout is exceeded.Method parameters in dev.failsafe.internal with type arguments of type SyncExecutionInternalModifier and TypeMethodDescriptionFallbackExecutor.apply(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.RetryPolicyExecutor.apply(Function<SyncExecutionInternal<R>, ExecutionResult<R>> innerFn, Scheduler scheduler) TimeoutExecutor.apply(Function<SyncExecutionInternal<R>, ExecutionResult<R>> innerFn, Scheduler scheduler) Schedules a separate timeout call that fails withTimeoutExceededExceptionif the policy's timeout is exceeded. -
Uses of SyncExecutionInternal in dev.failsafe.spi
Methods in dev.failsafe.spi that return SyncExecutionInternalModifier and TypeMethodDescriptionSyncExecutionInternal.copy()Returns a new copy of the SyncExecutionInternal if it is not standalone, else returnsthissince standalone executions are referenced externally and cannot be replaced.Methods in dev.failsafe.spi that return types with arguments of type SyncExecutionInternalModifier and TypeMethodDescriptionPolicyExecutor.apply(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 SyncExecutionInternalModifier and TypeMethodDescriptionPolicyExecutor.apply(Function<SyncExecutionInternal<R>, ExecutionResult<R>> innerFn, Scheduler scheduler) Performs an execution by calling pre-execute else calling the supplier and doing a post-execute.