Index

A B C D E F G H I J M O P R S T V 
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 Retryable that implements the Circuit Breaker pattern.
CircuitClosedEvent - Class in io.micronaut.retry.event
An event fired when a Circuit is CircuitState.CLOSED and 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.OPEN and requests are no longer being accepted.
CircuitOpenEvent(ExecutableMethod<?, ?>, RetryState, Throwable) - Constructor for class io.micronaut.retry.event.CircuitOpenEvent
 
CircuitOpenException - Exception Class in io.micronaut.retry.exception
Runtime exception that wraps a non-runtime exception in the case of an error.
CircuitOpenException(String) - Constructor for exception class io.micronaut.retry.exception.CircuitOpenException
Constructs a new runtime exception with the specified detail message.
CircuitOpenException(String, Throwable) - Constructor for exception class 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 MethodInterceptor that retries an operation according to the specified Retryable annotation.
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 Secondary Scope for types that should be used as a fallback.
FallbackException - Exception Class in io.micronaut.retry.exception
An exception thrown when an error occurs in the Fallback system.
FallbackException(String) - Constructor for exception class io.micronaut.retry.exception.FallbackException
Constructs a new Fallback exception with the specified detail message.
FallbackException(String, Throwable) - Constructor for exception class 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
 
getJitter() - 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.

J

jitter() - Element in annotation interface io.micronaut.retry.annotation.Retryable
 

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 Retryable interceptor.
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 Fallback handling.
RecoveryInterceptor - Class in io.micronaut.retry.intercept
A MethodInterceptor that will attempt to execute a Fallback when 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 Duration of time before resetting the circuit to CircuitState.HALF_OPEN allowing 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 ApplicationEventListener for RetryEvent.
RetryException - Exception Class in io.micronaut.retry.exception
An exception thrown if there is something at miss with the Retry system.
RetryException(String) - Constructor for exception class io.micronaut.retry.exception.RetryException
Constructs a new Retry exception with the specified detail message.
RetryException(String, Throwable) - Constructor for exception class 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 Retryable and CircuitBreaker.
RetryState - Interface in io.micronaut.retry
An interface that encapsulates the current state of a Retryable operation.
RetryStateBuilder - Interface in io.micronaut.retry
The retry state builder.

S

sleep(long) - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
Performs the sleep between retries, can be overridden to customize the sleep behavior.

T

test(Throwable) - Method in class io.micronaut.retry.annotation.DefaultRetryPredicate
 
throwWrappedException() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
If true and 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.
A B C D E F G H I J M O P R S T V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form