Uses of Interface
io.helidon.faulttolerance.Fallback
-
Uses of Fallback in io.helidon.faulttolerance
Modifier and TypeMethodDescriptionstatic <T> Fallback
<T> Fallback.create
(FallbackConfig<T> fallbackConfig) Create a fallback based on configuration.static <T> Fallback
<T> Fallback.create
(Consumer<FallbackConfig.Builder<T>> configConsumer) Create a fallback and customize its configuration.static <T> Fallback
<T> Fallback.createFromMethod
(Function<Throwable, ? extends T> method) Create a fallback from the fallback method.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.