Uses of Class
io.helidon.faulttolerance.Retry.Builder
Package
Description
Fault tolerance for Helidon SE reactive implementation.
-
Uses of Retry.Builder in io.helidon.faulttolerance
Modifier and TypeMethodDescriptionRetry.Builder.addApplyOn
(Class<? extends Throwable> clazz) Add a throwable to be considered a failure.This throwable will not be considered retriable.final Retry.Builder
These throwables will be considered failures, and all other will not.static Retry.Builder
Retry.builder()
A new builder to customizeRetry
configuration.Retry.Builder.cancelSource
(boolean cancelSource) Policy to cancel any source stage if the value return byFtHandler.invoke(java.util.function.Supplier<? extends java.util.concurrent.CompletionStage<T>>)
is cancelled.Load all properties for this circuit breaker from configuration.A name assigned for debugging, error reporting or configuration purposes.Retry.Builder.overallTimeout
(Duration overallTimeout) Overall timeout.Retry.Builder.retryPolicy
(Retry.RetryPolicy policy) Configure a retry policy to use to calculate delays between retries.Retry.Builder.scheduledExecutor
(ScheduledExecutorService scheduledExecutor) Executor service to schedule retries.final Retry.Builder
These throwables will not be considered retriable, all other will.