Interface AsyncSupport<V,AT>
-
- All Known Implementing Classes:
CompletionStageSupport
public interface AsyncSupport<V,AT>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapplies(Class<?>[] parameterTypes, Class<?> returnType)StringdoesDescription()CompletionStage<V>fallbackResultToCompletionStage(AT asyncValue)ATfromCompletionStage(Invoker<CompletionStage<V>> invoker)StringmustDescription()CompletionStage<V>toCompletionStage(Invoker<AT> invoker)
-
-
-
Method Detail
-
mustDescription
String mustDescription()
-
doesDescription
String doesDescription()
-
toCompletionStage
CompletionStage<V> toCompletionStage(Invoker<AT> invoker) throws Exception
- Throws:
Exception
-
fromCompletionStage
AT fromCompletionStage(Invoker<CompletionStage<V>> invoker) throws Exception
- Throws:
Exception
-
fallbackResultToCompletionStage
CompletionStage<V> fallbackResultToCompletionStage(AT asyncValue)
-
-