Uses of Interface
io.helidon.faulttolerance.Fallback
Package
Description
Fault tolerance for Helidon SE reactive implementation.
-
Uses of Fallback in io.helidon.faulttolerance
Modifier and TypeMethodDescriptionFallback.Builder.build()
static <T> Fallback<T>
Fallback.create
(Function<Throwable, ? extends CompletionStage<T>> fallback) Create a fallback for aSingle
orCompletionStage
.static <T> Fallback<T>
Fallback.createMulti
(Function<Throwable, ? extends Flow.Publisher<T>> fallback) Create a fallback for aMulti
orFlow.Publisher
.Modifier and TypeMethodDescription<U> FaultTolerance.TypedBuilder<U>
FaultTolerance.Builder.addFallback
(Fallback<U> fallback) Add a fallback to the list of handlers.FaultTolerance.TypedBuilder.addFallback
(Fallback<T> fallback) Add a fallback to the list of handlers.