Package io.smallrye.faulttolerance.api
package io.smallrye.faulttolerance.api
-
ClassDescriptionDeprecated, for removal: This API element is subject to removal in a future version.An interceptor binding annotation to apply preconfigured fault tolerance.Alternative to MicroProfile Fault Tolerance's
@Asynchronousfor guarding non-blocking asynchronous methods (executed on the original thread).Defines a handler or method that should be called before any retry, but not before the initial attempt.For each retry attempt, a new instance of the handler is created by the CDI container.Allows reading and observing current state of circuit breakers and resetting them to the initial (closed) state.A@CircuitBreakermethod can be annotated@CircuitBreakerNameto provide a name for the circuit breaker associated with the annotated method.Modifies a@Retryannotation to use a custom backoff strategy instead of the default constant backoff.For each invocation of a method annotated@Retryand@CustomBackoff, an instance of custom backoff strategy is created and used for computing delays between individual retry attempts.Modifies a@Retryannotation to use exponential backoff instead of the default constant backoff.Deprecated, for removal: This API element is subject to removal in a future version.useGuardorTypedGuardDeprecated, for removal: This API element is subject to removal in a future version.useGuard.BuilderorTypedGuard.BuilderDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Modifies a@Retryannotation to use Fibonacci backoff instead of the default constant backoff.Allows guarding an action with various fault tolerance strategies: bulkhead, circuit breaker, rate limit, retry.A builder for configuring fault tolerance strategies.Configures a bulkhead.Configures a circuit breaker.Configures a rate limit.Configures a retry.Configures a custom backoff for retry.Configures an exponential backoff for retry.Configures a Fibonacci backoff for retry.Configures a timeout.Rate limit restricts the number of invocations in a time window of some length.The exception thrown when an invocation exceeds the configured rate limit.Type of the time window used for rate limiting.Modifies a@Retryannotation to retry when given predicate returnstrue.This is an internal API.This is an internal API.TypedGuard<T>Allows guarding an action with various fault tolerance strategies: bulkhead, circuit breaker, fallback, rate limit, retry.A builder for configuring fault tolerance strategies.Configures a bulkhead.Configures a circuit breaker.Configures a fallback.Configures a rate limit.Configures a retry.Configures a custom backoff for retry.Configures an exponential backoff for retry.Configures a Fibonacci backoff for retry.Configures a timeout.
ApplyGuard