Module io.helidon.faulttolerance
Package io.helidon.faulttolerance
package io.helidon.faulttolerance
Helidon Fault Tolerance Support.
All handlers are fully blocking and should be executed on virtual threads.
-
ClassDescriptionRuns synchronous suppliers asynchronously using virtual threads.
Async
configuration bean.Fluent API builder forAsync
.AsyncConfig.BuilderBase<BUILDER extends AsyncConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends AsyncConfig> Fluent API builder base forAsync
.Generated implementation of the prototype, can be extended by descendant prototype implementations.Bulkhead protects a resource that cannot serve unlimited parallel requests.A Bulkhead listener for queueing operations.Provides statistics during the lifetime of a bulkhead, such as concurrent executions, accepted/rejected calls and queue size.Bulkhead
configuration bean.Fluent API builder forBulkhead
.BulkheadConfig.BuilderBase<BUILDER extends BulkheadConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends BulkheadConfig> Fluent API builder base forBulkhead
.Generated implementation of the prototype, can be extended by descendant prototype implementations.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.A circuit breaker can be in any of 3 possible states as defined by this enum.Interface generated from definition.Fluent API builder forCircuitBreaker
.CircuitBreakerConfig.BuilderBase<BUILDER extends CircuitBreakerConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends CircuitBreakerConfig> Fluent API builder base forCircuitBreaker
.Generated implementation of the prototype, can be extended by descendant prototype implementations.Failure becauseCircuitBreaker
is open and does not accept requests.Support for checkingskipOn
andapplyOn
sets of throwables.Fallback<T>Fallback allows the user to execute an alternative function in case the provided supplier fails.Fallback
configuration.Fluent API builder forFallbackConfig
.FallbackConfig.BuilderBase<T,BUILDER extends FallbackConfig.BuilderBase<T, BUILDER, PROTOTYPE>, PROTOTYPE extends FallbackConfig<T>> Fluent API builder base forFallbackConfig
.Generated implementation of the prototype, can be extended by descendant prototype implementations.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.A retry policy that prolongs the delays between retries by a defined factor.Fluent API builder forRetry.DelayingRetryPolicy
.A retry policy that randomizes delays between execution using a "jitter" time.Fluent API builder forRetry.JitterRetryPolicy
.Retry policy to handle delays between retries.Retry
configuration bean.Fluent API builder forRetry
.RetryConfig.BuilderBase<BUILDER extends RetryConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends RetryConfig> Fluent API builder base forRetry
.Generated implementation of the prototype, can be extended by descendant prototype implementations.Retry timeout exception.An exception class that is aRuntimeException
and is used to wrap an exception that cannot be thrown in a supplier.Helper to handle async suppliers that returnCompletionStage
.Timeout attempts to terminate execution after defined duration of time.Timeout
configuration bean.Fluent API builder forTimeout
.TimeoutConfig.BuilderBase<BUILDER extends TimeoutConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends TimeoutConfig> Fluent API builder base forTimeout
.Generated implementation of the prototype, can be extended by descendant prototype implementations.General timeout runtime exception.