Package dev.failsafe.spi
The Failsafe Service Provider Interface (SPI). These classes and interfaces allow Failsafe to be extended with new
policies.
-
Interface Summary Interface Description AsyncExecutionInternal<R> Internal async execution APIs.DelayablePolicy<R> A policy that can be delayed between executions.ExecutionInternal<R> Internal execution APIs.FailurePolicy<R> A policy that can handle specifically configured failures.Scheduler Schedules executions.SyncExecutionInternal<R> Internal execution APIs. -
Class Summary Class Description DefaultScheduledFuture<R> A default ScheduledFuture implementation.ExecutionResult<R> This class represents the internal result of an execution attempt for zero or more policies, before or after the policy has handled the result.FailsafeFuture<R> A CompletableFuture implementation that propagates cancellations and calls completion handlers.PolicyExecutor<R> Handles execution and execution results according to a policy.