Class RememberEventLoop<V>
java.lang.Object
io.smallrye.faulttolerance.core.async.RememberEventLoop<V>
- All Implemented Interfaces:
FaultToleranceStrategy<V>
-
Constructor Summary
ConstructorsConstructorDescriptionRememberEventLoop(FaultToleranceStrategy<V> delegate, EventLoop eventLoop, boolean defaultEnabled) -
Method Summary
-
Constructor Details
-
RememberEventLoop
public RememberEventLoop(FaultToleranceStrategy<V> delegate, EventLoop eventLoop, boolean defaultEnabled)
-
-
Method Details
-
apply
Description copied from interface:FaultToleranceStrategyApply the fault tolerance strategy around the targetCallable. TheCallableis wrapped in anFaultToleranceContext.- Specified by:
applyin interfaceFaultToleranceStrategy<V>- Parameters:
ctx- theInvocationContextwrapping theCallableguarded by this fault tolerance strategy- Returns:
- result computed by the target
Callable
-