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.
- asRetryPolicy() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the retry policy view of this circuit breaker policy.
- attempts() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the maximum number of retry attempts.
- attempts() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the maximum number of retry attempts.
B
- build() - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Builds the circuit breaker policy.
- build() - Method in class io.micronaut.retry.intercept.PolicyRetryStateBuilder
-
Builds retry state from the configured retry policy.
- build() - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Builds the retry policy.
- build() - Method in interface io.micronaut.retry.RetryStateBuilder
-
Builds retry state.
- builder() - Static method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Creates a circuit breaker policy builder.
- builder() - Static method in record class io.micronaut.retry.RetryPolicy
-
Creates a retry policy builder.
C
- canRetry(Throwable) - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- 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
-
Returns the exception type that should be intercepted for retry handling.
- capturedException() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
capturedExceptionrecord component. - capturedException(Class) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the captured exception type.
- capturedException(Class) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the captured exception type.
- CircuitBreaker - Annotation Interface in io.micronaut.retry.annotation
-
Variation of
Retryablethat implements the Circuit Breaker pattern. - CircuitBreakerOperations - Interface in io.micronaut.retry
-
Programmatic circuit breaker operations.
- CircuitBreakerOperationsFactory - Interface in io.micronaut.retry
-
Factory for programmatic circuit breaker operations.
- CircuitBreakerPolicy - Record Class in io.micronaut.retry
-
Typed circuit breaker policy for programmatic execution.
- CircuitBreakerPolicy(RetryPolicy, Duration, boolean) - Constructor for record class io.micronaut.retry.CircuitBreakerPolicy
-
Creates an instance of a
CircuitBreakerPolicyrecord class. - CircuitBreakerPolicy.Builder - Class in io.micronaut.retry
-
Builder for
CircuitBreakerPolicy. - CircuitBreakerRetry - Class in io.micronaut.retry.intercept
-
A context object for storing the state of the Circuit.
- CircuitBreakerRetry(long, RetryStateBuilder, ExecutableMethod, ApplicationEventPublisher, boolean) - Constructor for class io.micronaut.retry.intercept.CircuitBreakerRetry
-
Creates a circuit breaker retry state.
- 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
-
Creates a circuit open event.
- 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 class io.micronaut.retry.intercept.CircuitBreakerRetry
- 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.
- create(ScheduledExecutorService) - Static method in interface io.micronaut.retry.RetryOperationsFactory
-
Creates a retry operations factory backed by the given scheduler.
- createCircuitBreakerOperations(CircuitBreakerPolicy) - Method in interface io.micronaut.retry.CircuitBreakerOperationsFactory
-
Creates reusable circuit breaker operations for the given policy.
- createRetryOperations(RetryPolicy) - Method in interface io.micronaut.retry.RetryOperationsFactory
-
Creates reusable retry operations for the given policy.
- currentAttempt() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- currentAttempt() - Method in interface io.micronaut.retry.RetryState
-
Returns the number of the current attempt.
- currentState() - Method in interface io.micronaut.retry.CircuitBreakerOperations
-
Returns the current circuit state for this operations instance.
- currentState() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
-
Returns the current circuit state.
D
- DEFAULT_CAPTURED_EXCEPTION - Static variable in record class io.micronaut.retry.RetryPolicy
- DEFAULT_DELAY - Static variable in record class io.micronaut.retry.CircuitBreakerPolicy
- DEFAULT_DELAY - Static variable in record class io.micronaut.retry.RetryPolicy
- DEFAULT_JITTER - Static variable in record class io.micronaut.retry.RetryPolicy
- DEFAULT_MAX_ATTEMPTS - Static variable in record class io.micronaut.retry.RetryPolicy
- DEFAULT_MAX_DELAY - Static variable in record class io.micronaut.retry.CircuitBreakerPolicy
- DEFAULT_MULTIPLIER - Static variable in record class io.micronaut.retry.CircuitBreakerPolicy
- DEFAULT_MULTIPLIER - Static variable in record class io.micronaut.retry.RetryPolicy
- DEFAULT_RESET_TIMEOUT - Static variable in record class io.micronaut.retry.CircuitBreakerPolicy
- 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, List) - Constructor for class io.micronaut.retry.annotation.DefaultRetryPredicate
-
Creates a retry predicate with explicit include and exclude rules.
- DefaultRetryRunner - Class in io.micronaut.retry.intercept
-
Shared retry execution engine for synchronous, reactive, and asynchronous flows.
- DefaultRetryRunner(ScheduledExecutorService, RetrySleeper) - Constructor for class io.micronaut.retry.intercept.DefaultRetryRunner
-
Creates a shared retry runner.
- delay() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the delay between retry attempts.
- delay() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the delay between retry attempts.
- delay() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
delayrecord component. - delay(Duration) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the delay between retry attempts.
- delay(Duration) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the delay between retry attempts.
E
- equals(Object) - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.micronaut.retry.RetryPolicy
-
Indicates whether some other object is "equal to" this one.
- excludes() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the exception types to exclude, which defaults to none.
- excludes() - Element in annotation interface io.micronaut.retry.annotation.Fallback
-
Returns the exception types to exclude, which defaults to none.
- excludes() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the exception types to exclude, which defaults to none.
- excludes() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
excludesrecord component. - excludes(Class...) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Adds excluded exception types.
- excludes(Class...) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Adds excluded exception types.
- execute(Supplier) - Method in interface io.micronaut.retry.RetryOperations
-
Executes synchronous work with retry.
- executeCompletionStage(Supplier) - Method in interface io.micronaut.retry.RetryOperations
-
Executes asynchronous work backed by a completion stage with retry.
- executeCompletionStage(Supplier, MutableRetryState, String, RetryEventEmitter) - Method in class io.micronaut.retry.intercept.DefaultRetryRunner
-
Executes completion stage work with retry.
- executePublisher(Supplier) - Method in interface io.micronaut.retry.RetryOperations
-
Executes reactive work backed by a publisher with retry.
- executePublisher(Supplier, MutableRetryState, String, RetryEventEmitter) - Method in class io.micronaut.retry.intercept.DefaultRetryRunner
-
Executes publisher work with retry.
- executeSync(Supplier, MutableRetryState, String, RetryEventEmitter) - Method in class io.micronaut.retry.intercept.DefaultRetryRunner
-
Executes synchronous work with retry.
F
- Fallback - Annotation Interface in io.micronaut.retry.annotation
-
A
SecondaryScopefor 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
Fallbacksystem. - 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) - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
-
Finds a fallback method for the given context.
G
- getCapturedException() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the captured exception type.
- getCapturedException() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getCapturedException() - Method in interface io.micronaut.retry.RetryState
-
Returns the captured exception type, which defaults to
Exception. - getDelay() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the delay between retry attempts.
- getDelay() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getDelay() - Method in interface io.micronaut.retry.RetryState
-
Returns the delay between attempts.
- getExcludes() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the excluded exception types.
- getIncludes() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the included exception types.
- getJitter() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the retry jitter factor.
- getJitter() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getJitter() - Method in interface io.micronaut.retry.RetryState
-
Returns the jitter factor used to apply random deviation to retry delays.
- getMaxAttempts() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the maximum number of attempts.
- getMaxAttempts() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getMaxAttempts() - Method in interface io.micronaut.retry.RetryState
-
Returns the maximum number of attempts.
- getMaxDelay() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the maximum overall delay.
- getMaxDelay() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getMaxDelay() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the maximum overall delay.
- getMaxDelay() - Method in interface io.micronaut.retry.RetryState
-
Returns the maximum overall delay.
- getMultiplier() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the delay multiplier.
- getMultiplier() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getMultiplier() - Method in interface io.micronaut.retry.RetryState
-
Returns the multiplier to use between delays.
- getOrder() - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
- getOrder() - Method in class io.micronaut.retry.intercept.RecoveryInterceptor
- getOverallDelay() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getOverallDelay() - Method in interface io.micronaut.retry.RetryState
-
Returns the overall delay so far.
- getPredicate() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the retry predicate.
- getResetTimeout() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the circuit reset timeout.
- getRetryPredicate() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- getRetryPredicate() - Method in interface io.micronaut.retry.RetryState
-
Returns the retry predicate checking for includes and excludes throwable classes.
- getRetryState() - Method in class io.micronaut.retry.event.CircuitOpenEvent
-
Returns the retry context.
- getRetryState() - Method in class io.micronaut.retry.event.RetryEvent
-
Returns the retry context.
- 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
-
Returns the original exception that will be rethrown to the user.
- getThrowable() - Method in class io.micronaut.retry.event.RetryEvent
-
Returns the exception that caused the retry.
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.
- hashCode() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns a hash code value for this object.
I
- includes() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the exception types to include, which defaults to all.
- includes() - Element in annotation interface io.micronaut.retry.annotation.Fallback
-
Returns the exception types to include, which defaults to all.
- includes() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the exception types to include, which defaults to all.
- includes() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
includesrecord component. - includes(Class...) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Adds included exception types.
- includes(Class...) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Adds included exception types.
- intercept(MethodInvocationContext) - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
- intercept(MethodInvocationContext) - 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.
- isThrowWrappedException() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns whether open-circuit exceptions should be wrapped.
J
- jitter() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the jitter factor used to apply random deviation to retry delays.
- jitter() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
jitterrecord component. - jitter(double) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the jitter factor.
- jitter(double) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the jitter factor.
M
- MAX_INTEGRAL_DIGITS - Static variable in annotation interface io.micronaut.retry.annotation.Retryable
-
The maximum integral digits for retry attempts validation.
- MAX_RETRY_ATTEMPTS - Static variable in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
The maximum integral digits for circuit breaker attempts validation.
- maxAttempts() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
maxAttemptsrecord component. - maxAttempts(int) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the maximum number of attempts.
- maxAttempts(int) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the maximum number of attempts.
- 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
-
Returns the maximum overall delay.
- maxDelay() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
maxDelayrecord component. - maxDelay(Duration) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the maximum overall delay.
- maxDelay(Duration) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the maximum overall delay.
- multiplier() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the multiplier to use to calculate the delay between retries.
- multiplier() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the multiplier to use to calculate the delay.
- multiplier() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
multiplierrecord component. - multiplier(double) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the delay multiplier.
- multiplier(double) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the delay multiplier.
- MutableRetryState - Interface in io.micronaut.retry.intercept
-
Mutable retry state that can calculate the next retry delay.
N
- nextDelay() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- nextDelay() - Method in interface io.micronaut.retry.intercept.MutableRetryState
-
Returns the millisecond value for the next delay.
O
- onRetry(MutableRetryState, Throwable) - Method in interface io.micronaut.retry.intercept.RetryEventEmitter
-
Emits a retry notification.
- open() - Method in class io.micronaut.retry.intercept.CircuitBreakerRetry
- 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
- PolicyRetryStateBuilder - Class in io.micronaut.retry.intercept
-
Builds retry state from a typed retry policy.
- PolicyRetryStateBuilder(RetryPolicy) - Constructor for class io.micronaut.retry.intercept.PolicyRetryStateBuilder
-
Creates a retry state builder from a typed retry policy.
- POSITION - Static variable in class io.micronaut.retry.intercept.RecoveryInterceptor
-
Positioned before the
Retryableinterceptor. - predicate() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Returns the retry predicate class to use instead of
Retryable.includes()andRetryable.excludes(). - predicate() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the retry predicate class to use instead of
Retryable.includes()andRetryable.excludes(). - predicate() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns the value of the
predicaterecord component. - predicate(RetryPredicate) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the retry predicate.
- predicate(RetryPredicate) - Method in class io.micronaut.retry.RetryPolicy.Builder
-
Sets the retry predicate.
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
-
Creates a recovery interceptor.
- reset() - Element in annotation interface io.micronaut.retry.annotation.CircuitBreaker
-
Sets the
Durationof time before resetting the circuit toCircuitState.HALF_OPENallowing a single retry. - resetTimeout() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the value of the
resetTimeoutrecord component. - resetTimeout(Duration) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets the circuit reset timeout.
- resolveFallback(MethodInvocationContext, 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
-
Creates a retry event.
- RetryEventEmitter - Interface in io.micronaut.retry.intercept
-
Emits retry attempt notifications for the shared retry runner.
- RetryEventListener - Interface in io.micronaut.retry.event
-
Generalization of
ApplicationEventListenerforRetryEvent. - 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.
- RetryOperations - Interface in io.micronaut.retry
-
Programmatic retry operations.
- RetryOperationsFactory - Interface in io.micronaut.retry
-
Factory for programmatic retry operations.
- retryPolicy() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the value of the
retryPolicyrecord component. - RetryPolicy - Record Class in io.micronaut.retry
-
Typed retry policy for programmatic retry execution.
- RetryPolicy(int, Duration, Duration, double, double, RetryPredicate, Class, List, List) - Constructor for record class io.micronaut.retry.RetryPolicy
-
Creates an instance of a
RetryPolicyrecord class. - RetryPolicy.Builder - Class in io.micronaut.retry
-
Builder for
RetryPolicy. - RetryPredicate - Interface in io.micronaut.retry.annotation
-
An interface allows to provide custom condition for
RetryableandCircuitBreaker. - RetrySleeper - Interface in io.micronaut.retry.intercept
-
Internal abstraction for sleeping between retry attempts.
- 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.
S
- sleep(long) - Method in class io.micronaut.retry.intercept.DefaultRetryInterceptor
-
Performs the sleep between retries and can be overridden to customize sleep behavior.
- sleep(long) - Method in interface io.micronaut.retry.intercept.RetrySleeper
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. - throwWrappedException() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns the value of the
throwWrappedExceptionrecord component. - throwWrappedException(boolean) - Method in class io.micronaut.retry.CircuitBreakerPolicy.Builder
-
Sets whether open-circuit exceptions should be wrapped.
- toString() - Method in record class io.micronaut.retry.CircuitBreakerPolicy
-
Returns a string representation of this record class.
- toString() - Method in record class io.micronaut.retry.RetryPolicy
-
Returns a string representation of this record class.
V
- value() - Element in annotation interface io.micronaut.retry.annotation.Retryable
-
Returns the exception types to include, which defaults to all.
- 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