Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
package io.helidon.faulttolerance
Fault tolerance for Helidon SE reactive implementation.
-
ClassDescriptionSupport for asynchronous execution of synchronous (blocking) calls.Fluent API Builder for
Async
.Bulkhead protects a resource that cannot serve unlimited parallel requests.Fluent API builder forBulkhead
.Provides statistics during the lifetime of a bulkhead, such as concurrent executions, accepted/rejected calls and queue size.Failure because ofBulkhead
issues, most likely that the bulkhead does not allow any more queued tasks.CircuitBreaker protects a potentially failing endpoint from overloading and the application from spending resources on those endpoints.Fluent API builder forCircuitBreaker
.A circuit breaker can be in any of 3 possible states as defined by this enum.Failure becauseCircuitBreaker
is open and does not accept requests.Fallback<T>Fallback allows the user to execute an alternative function in case the provided supplier fails.Fluent API builder forFallback
.System wide fault tolerance configuration and access to a customized sequence of fault tolerance handlers.A builder used for setting up a customized list of fault tolerance handlers.A builder used for fault tolerance handlers that require a specific type to be used, such asFallback
.A fault tolerance handler.A typed fault tolerance handler, to allow combination of multiple handlers without losing type information.Retry supports retry policies to be applied on an execution of asynchronous tasks.Fluent API builder forRetry
.A retry policy that prolongs the delays between retries by a defined factor.Fluent API builder forRetry.DelayingRetryPolicy
.A retry policy that increases the delay time following an exponential sequence.Fluent API builder forRetry.ExponentialRetryPolicy
.A retry policy that increases the delay time following the Fibonacci sequence.Fluent API builder forRetry.FibonacciRetryPolicy
.A retry policy that randomizes delays between execution using a "jitter" time.Fluent API builder forRetry.JitterRetryPolicy
.Retry policy to handle delays between retries.Subclass ofTimeoutException
to discern exceptions thrown by aRetry
when its overall timeout is reached versus those thrown by aTimeout
.Timeout attempts to terminate execution after a duration time passes.Fluent API builder forTimeout
.