Class PolicyExecutor<R>

java.lang.Object
dev.failsafe.spi.PolicyExecutor<R>
Type Parameters:
R - result type
Direct Known Subclasses:
BulkheadExecutor, CircuitBreakerExecutor, FallbackExecutor, RateLimiterExecutor, RetryPolicyExecutor, TimeoutExecutor

public abstract class PolicyExecutor<R> extends Object
Handles execution and execution results according to a policy. May contain pre-execution and post-execution behaviors. Each PolicyExecutor makes its own determination about whether an execution result is a success or failure.