Class CompletionStageExecution<V>

  • All Implemented Interfaces:
    FaultToleranceStrategy<CompletionStage<V>>

    public class CompletionStageExecution<V>
    extends Object
    implements FaultToleranceStrategy<CompletionStage<V>>
    Unlike FutureExecution, this is supposed to be the next to last strategy in the chain (last being Invocation). To implement CompletionStage-based @Asynchronous invocations, each synchronous strategy has a CompletionStage counterpart that is used. The CompletionStage strategies never block and hence may be executed on the original thread.