Class AsyncFallbackFunction<T>
- java.lang.Object
-
- io.smallrye.faulttolerance.core.fallback.AsyncFallbackFunction<T>
-
- All Implemented Interfaces:
FallbackFunction<CompletionStage<T>>
public final class AsyncFallbackFunction<T> extends Object implements FallbackFunction<CompletionStage<T>>
-
-
Constructor Summary
Constructors Constructor Description AsyncFallbackFunction(FallbackFunction<CompletionStage<T>> delegate, Executor executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<T>call(FallbackContext<CompletionStage<T>> ctx)
-
-
-
Constructor Detail
-
AsyncFallbackFunction
public AsyncFallbackFunction(FallbackFunction<CompletionStage<T>> delegate, Executor executor)
-
-
Method Detail
-
call
public CompletionStage<T> call(FallbackContext<CompletionStage<T>> ctx) throws Exception
- Specified by:
callin interfaceFallbackFunction<T>- Throws:
Exception
-
-