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