Class SyncAsyncSplit<V>
java.lang.Object
io.smallrye.faulttolerance.core.async.SyncAsyncSplit<V>
- All Implemented Interfaces:
FaultToleranceStrategy<V>
-
Constructor Summary
ConstructorsConstructorDescriptionSyncAsyncSplit(FaultToleranceStrategy<V> asyncDelegate, FaultToleranceStrategy<V> syncDelegate) -
Method Summary
-
Constructor Details
-
SyncAsyncSplit
public SyncAsyncSplit(FaultToleranceStrategy<V> asyncDelegate, FaultToleranceStrategy<V> syncDelegate)
-
-
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
-