Interface FailoverExecution<T>
- Type Parameters:
T- the return type of the protected method
- All Known Implementing Classes:
BasicFailoverExecution,ResilienceFailoverExecution
public interface FailoverExecution<T>
Strategy for executing a method call with failover semantics.
- Author:
- Anand Manissery
-
Method Summary
-
Method Details
-
execute
Executes the given supplier with failover protection.- Parameters:
failover- annotation metadata for the failover pointsupplier- the actual method invocation to executemethod- the reflected method, used for logging and type resolutionargs- resolved method arguments- Returns:
- the result from the supplier, or a recovered value on failure
-