Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- api() - Element in annotation interface io.micronaut.retry.annotation.Recoverable
-
Used to specify the API to lookup fallbacks for.
- attempts() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- attempts() - Element in annotation interface io.micronaut.retry.annotation.Retryable
B
- build() - Method in interface io.micronaut.retry.RetryStateBuilder
C
- canRetry(Throwable) - Method in interface io.micronaut.retry.RetryState
-
Should a retry attempt to occur.
- capturedException() - Element in annotation interface io.micronaut.retry.annotation.Retryable
- CircuitBreaker - Annotation Interface in io.micronaut.retry.annotation
-
Variation of
Retryablethat implements the Circuit Breaker pattern. - CircuitClosedEvent - Class in io.micronaut.retry.event
-
An event fired when a Circuit is
CircuitState.CLOSEDand has resumed accepting requests. - CircuitClosedEvent(ExecutableMethod<?, ?>) - Constructor for class io.micronaut.retry.event.CircuitClosedEvent
-
Constructs an Event.
- CircuitOpenEvent - Class in io.micronaut.retry.event
-
An event fired when the Circuit is
CircuitState.OPENand requests are no longer being accepted. - CircuitOpenEvent(ExecutableMethod<?, ?>, RetryState, Throwable) - Constructor for class io.micronaut.retry.event.CircuitOpenEvent
- CircuitOpenException - Exception in io.micronaut.retry.exception
-
Runtime exception that wraps a non-runtime exception in the case of an error.
- CircuitOpenException(String) - Constructor for exception io.micronaut.retry.exception.CircuitOpenException
-
Constructs a new runtime exception with the specified detail message.
- CircuitOpenException(String, Throwable) - Constructor for exception io.micronaut.retry.exception.CircuitOpenException
-
Constructs a new CircuitOpen runtime exception with the specified detail message and cause.
- CircuitState - Enum Class in io.micronaut.retry
-
State for Circuit breaker phases.
- close(Throwable) - Method in interface io.micronaut.retry.RetryState
-
Closes the
RetryState. - CLOSED - Enum constant in enum class io.micronaut.retry.CircuitState
-
The circuit is closed and downstream logic should proceed as normal.
- currentAttempt() - Method in interface io.micronaut.retry.RetryState
D
- DefaultRetryInterceptor - Class in io.micronaut.retry.intercept
-
A
MethodInterceptorthat retries an operation according to the specifiedRetryableannotation. - DefaultRetryInterceptor(ConversionService, ApplicationEventPublisher, ExecutorService) - Constructor for class io.micronaut.retry.intercept.DefaultRetryInterceptor
-
Construct a default retry method interceptor with the event publisher.
- DefaultRetryPredicate - Class in io.micronaut.retry.annotation
-
Default retry predicate.
- DefaultRetryPredicate() - Constructor for class io.micronaut.retry.annotation.DefaultRetryPredicate
-
Default constructor.
- DefaultRetryPredicate(List<Class<? extends Throwable>>, List<Class<? extends Throwable>>) - Constructor for class io.micronaut.retry.annotation.DefaultRetryPredicate
- delay() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- delay() - Element in annotation interface io.micronaut.retry.annotation.Retryable
E
- excludes() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- excludes() - Element in annotation interface io.micronaut.retry.annotation.Fallback
- excludes() - Element in annotation interface io.micronaut.retry.annotation.Retryable
F
- Fallback - Annotation Interface in io.micronaut.retry.annotation
-
A
SecondaryScopefor types that should be used as a fallback. - FallbackException - Exception in io.micronaut.retry.exception
-
An exception thrown when an error occurs in the
Fallbacksystem. - FallbackException(String) - Constructor for exception io.micronaut.retry.exception.FallbackException
-
Constructs a new Fallback exception with the specified detail message.
- FallbackException(String, Throwable) - Constructor for exception io.micronaut.retry.exception.FallbackException
-
Constructs a new Fallback exception with the specified detail message and cause.
- findFallbackMethod(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
-
Finds a fallback method for the given context.
G
- getCapturedException() - Method in interface io.micronaut.retry.RetryState
- getDelay() - Method in interface io.micronaut.retry.RetryState
- getMaxAttempts() - Method in interface io.micronaut.retry.RetryState
- getMaxDelay() - Method in interface io.micronaut.retry.RetryState
- getMultiplier() - Method in interface io.micronaut.retry.RetryState
- getOrder() - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
- getOrder() - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
- getOverallDelay() - Method in interface io.micronaut.retry.RetryState
- getRetryPredicate() - Method in interface io.micronaut.retry.RetryState
- getRetryState() - Method in class io.micronaut.retry.event.CircuitOpenEvent
- getRetryState() - Method in class io.micronaut.retry.event.RetryEvent
- getSource() - Method in class io.micronaut.retry.event.CircuitClosedEvent
- getSource() - Method in class io.micronaut.retry.event.CircuitOpenEvent
- getSource() - Method in class io.micronaut.retry.event.RetryEvent
- getThrowable() - Method in class io.micronaut.retry.event.CircuitOpenEvent
- getThrowable() - Method in class io.micronaut.retry.event.RetryEvent
H
- HALF_OPEN - Enum constant in enum class io.micronaut.retry.CircuitState
-
The circuit has just closed to allow a single downstream call to check if it is backup.
I
- includes() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- includes() - Element in annotation interface io.micronaut.retry.annotation.Fallback
- includes() - Element in annotation interface io.micronaut.retry.annotation.Retryable
- intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
- intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
- io.micronaut.retry - package io.micronaut.retry
-
Retry State containers.
- io.micronaut.retry.annotation - package io.micronaut.retry.annotation
-
Retry AOP annotations.
- io.micronaut.retry.event - package io.micronaut.retry.event
-
Events triggered on retry.
- io.micronaut.retry.exception - package io.micronaut.retry.exception
-
Retry exceptions.
- io.micronaut.retry.intercept - package io.micronaut.retry.intercept
-
Retry interceptors and states.
M
- MAX_INTEGRAL_DIGITS - Static variable in annotation interface io.micronaut.retry.annotation.Retryable
- MAX_RETRY_ATTEMPTS - Static variable in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- maxDelay() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
The maximum overall delay for an operation to complete until the Circuit state is set to
CircuitState.OPEN. - maxDelay() - Element in annotation interface io.micronaut.retry.annotation.Retryable
- multiplier() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- multiplier() - Element in annotation interface io.micronaut.retry.annotation.Retryable
O
- open() - Method in interface io.micronaut.retry.RetryState
-
Opens the retry state.
- OPEN - Enum constant in enum class io.micronaut.retry.CircuitState
-
The circuit is open and downstream logic should not be invoked.
P
- POSITION - Static variable in class io.micronaut.retry.intercept.RecoveryInterceptor
-
Positioned before the
Retryableinterceptor. - predicate() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
- predicate() - Element in annotation interface io.micronaut.retry.annotation.Retryable
R
- Recoverable - Annotation Interface in io.micronaut.retry.annotation
-
AOP around advice that can be applied to any type or method that requires
Fallbackhandling. - RecoveryInterceptor - Class in io.micronaut.retry.intercept
-
A
MethodInterceptorthat will attempt to execute aFallbackwhen the target method is in an error state. - RecoveryInterceptor(BeanContext) - Constructor for class io.micronaut.retry.intercept.RecoveryInterceptor
- reset() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Sets the
Durationof time before resetting the circuit toCircuitState.HALF_OPENallowing a single retry. - resolveFallback(MethodInvocationContext<Object, Object>, RuntimeException) - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
-
Resolves a fallback for the given execution context and exception.
- Retryable - Annotation Interface in io.micronaut.retry.annotation
-
AOP Advice that can be applied to any method.
- RetryEvent - Class in io.micronaut.retry.event
-
An event triggered on each retry.
- RetryEvent(MethodInvocationContext<?, ?>, RetryState, Throwable) - Constructor for class io.micronaut.retry.event.RetryEvent
- RetryEventListener - Interface in io.micronaut.retry.event
-
Generalization of
ApplicationEventListenerforRetryEvent. - RetryException - Exception in io.micronaut.retry.exception
-
An exception thrown if there is something at miss with the Retry system.
- RetryException(String) - Constructor for exception io.micronaut.retry.exception.RetryException
-
Constructs a new Retry exception with the specified detail message.
- RetryException(String, Throwable) - Constructor for exception io.micronaut.retry.exception.RetryException
-
Constructs a new Retry exception with the specified detail message and cause.
- RetryPredicate - Interface in io.micronaut.retry.annotation
-
An interface allows to provide custom condition for
RetryableandCircuitBreaker. - RetryState - Interface in io.micronaut.retry
-
An interface that encapsulates the current state of a
Retryableoperation. - RetryStateBuilder - Interface in io.micronaut.retry
-
The retry state builder.
T
- test(Throwable) - Method in class io.micronaut.retry.annotation.DefaultRetryPredicate
- throwWrappedException() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
If
trueand the circuit is opened, it throws the original exception wrapped.
V
- value() - Element in annotation interface io.micronaut.retry.annotation.Retryable
- valueOf(String) - Static method in enum class io.micronaut.retry.CircuitState
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.micronaut.retry.CircuitState
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form