Class CompletionStageSupport<T>
java.lang.Object
io.smallrye.faulttolerance.core.invocation.CompletionStageSupport<T>
- All Implemented Interfaces:
AsyncSupport<T,CompletionStage<T>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancreateComplete(T value) fallbackResultToCompletionStage(CompletionStage<T> completionStage) fromCompletionStage(Invoker<CompletionStage<T>> invoker) toCompletionStage(Invoker<CompletionStage<T>> invoker)
-
Constructor Details
-
CompletionStageSupport
public CompletionStageSupport()
-
-
Method Details
-
mustDescription
- Specified by:
mustDescriptionin interfaceAsyncSupport<T,CompletionStage<T>>
-
doesDescription
- Specified by:
doesDescriptionin interfaceAsyncSupport<T,CompletionStage<T>>
-
applies
- Specified by:
appliesin interfaceAsyncSupport<T,CompletionStage<T>>
-
createComplete
- Specified by:
createCompletein interfaceAsyncSupport<T,CompletionStage<T>>
-
toCompletionStage
- Specified by:
toCompletionStagein interfaceAsyncSupport<T,CompletionStage<T>> - Throws:
Exception
-
fromCompletionStage
- Specified by:
fromCompletionStagein interfaceAsyncSupport<T,CompletionStage<T>>
-
fallbackResultToCompletionStage
- Specified by:
fallbackResultToCompletionStagein interfaceAsyncSupport<T,CompletionStage<T>>
-