Skip navigation links
A B C D E G I M O R T V W 

A

AsyncRetry - Interface in io.github.resilience4j.retry
A AsyncRetry instance is thread-safe can be used to decorate multiple requests.
AsyncRetry.Context - Interface in io.github.resilience4j.retry
 
AsyncRetry.EventPublisher - Interface in io.github.resilience4j.retry
An EventPublisher which subscribes to the reactive stream of RetryEvents and can be used to register event consumers.
AsyncRetry.Metrics - Interface in io.github.resilience4j.retry
 
AsyncRetryImpl - Class in io.github.resilience4j.retry.internal
 
AsyncRetryImpl(String, RetryConfig) - Constructor for class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
AsyncRetryImpl.AsyncRetryMetrics - Class in io.github.resilience4j.retry.internal
 
AsyncRetryImpl.ContextImpl - Class in io.github.resilience4j.retry.internal
 

B

build() - Method in class io.github.resilience4j.retry.RetryConfig.Builder
 
Builder() - Constructor for class io.github.resilience4j.retry.RetryConfig.Builder
 

C

context() - Method in interface io.github.resilience4j.retry.AsyncRetry
Creates a retry Context.
context() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
context() - Method in class io.github.resilience4j.retry.internal.RetryImpl
 
context() - Method in interface io.github.resilience4j.retry.Retry
Creates a retry Context.
ContextImpl() - Constructor for class io.github.resilience4j.retry.internal.AsyncRetryImpl.ContextImpl
 
custom() - Static method in class io.github.resilience4j.retry.RetryConfig
Returns a builder to create a custom RetryConfig.

D

decorateCallable(Retry, Callable<T>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable callable.
decorateCheckedFunction(Retry, CheckedFunction1<T, R>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable function.
decorateCheckedRunnable(Retry, CheckedRunnable) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable runnable.
decorateCheckedSupplier(Retry, CheckedFunction0<T>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable supplier.
decorateCompletionStage(AsyncRetry, ScheduledExecutorService, Supplier<CompletionStage<T>>) - Static method in interface io.github.resilience4j.retry.AsyncRetry
Decorates CompletionStageSupplier with Retry
decorateFunction(Retry, Function<T, R>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable function.
decorateRunnable(Retry, Runnable) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable runnable.
decorateSupplier(Retry, Supplier<T>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a retryable supplier.
DEFAULT_INITIAL_INTERVAL - Static variable in interface io.github.resilience4j.retry.IntervalFunction
 
DEFAULT_MAX_ATTEMPTS - Static variable in class io.github.resilience4j.retry.RetryConfig
 
DEFAULT_MULTIPLIER - Static variable in interface io.github.resilience4j.retry.IntervalFunction
 
DEFAULT_RANDOMIZATION_FACTOR - Static variable in interface io.github.resilience4j.retry.IntervalFunction
 
DEFAULT_WAIT_DURATION - Static variable in class io.github.resilience4j.retry.RetryConfig
 

E

executeCallable(Callable<T>) - Method in interface io.github.resilience4j.retry.Retry
Decorates and executes the decorated Callable.
executeCompletionStage(ScheduledExecutorService, Supplier<CompletionStage<T>>) - Method in interface io.github.resilience4j.retry.AsyncRetry
Decorates and executes the decorated CompletionStage.
executeRunnable(Runnable) - Method in interface io.github.resilience4j.retry.Retry
Decorates and executes the decorated Runnable.
executeSupplier(Supplier<T>) - Method in interface io.github.resilience4j.retry.Retry
Decorates and executes the decorated Supplier.

G

getAllRetries() - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
 
getAllRetries() - Method in interface io.github.resilience4j.retry.RetryRegistry
Returns all managed Retry instances.
getCreationTime() - Method in interface io.github.resilience4j.retry.event.RetryEvent
Returns the creation time of Retry event.
getEventPublisher() - Method in interface io.github.resilience4j.retry.AsyncRetry
Returns an EventPublisher which can be used to register event consumers.
getEventPublisher() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
getEventPublisher() - Method in class io.github.resilience4j.retry.internal.RetryImpl
 
getEventPublisher() - Method in interface io.github.resilience4j.retry.Retry
Returns an EventPublisher can be used to register event consumers.
getEventType() - Method in interface io.github.resilience4j.retry.event.RetryEvent
Returns the type of the Retry event.
getEventType() - Method in class io.github.resilience4j.retry.event.RetryOnErrorEvent
 
getEventType() - Method in class io.github.resilience4j.retry.event.RetryOnIgnoredErrorEvent
 
getEventType() - Method in class io.github.resilience4j.retry.event.RetryOnSuccessEvent
 
getExceptionPredicate() - Method in class io.github.resilience4j.retry.RetryConfig
 
getIntervalFunction() - Method in class io.github.resilience4j.retry.RetryConfig
 
getLastThrowable() - Method in interface io.github.resilience4j.retry.event.RetryEvent
Returns the last captured Throwable.
getMaxAttempts() - Method in class io.github.resilience4j.retry.RetryConfig
 
getMetrics() - Method in interface io.github.resilience4j.retry.AsyncRetry
Get the Metrics of this RateLimiter.
getMetrics() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
getMetrics() - Method in class io.github.resilience4j.retry.internal.RetryImpl
Get the Metrics of this RateLimiter.
getMetrics() - Method in interface io.github.resilience4j.retry.Retry
Get the Metrics of this RateLimiter.
getName() - Method in interface io.github.resilience4j.retry.AsyncRetry
Returns the ID of this Retry.
getName() - Method in interface io.github.resilience4j.retry.event.RetryEvent
Returns the ID of the Retry.
getName() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
getName() - Method in class io.github.resilience4j.retry.internal.RetryImpl
Returns the ID of this Retry.
getName() - Method in interface io.github.resilience4j.retry.Retry
Returns the ID of this Retry.
getNumberOfFailedCallsWithoutRetryAttempt() - Method in interface io.github.resilience4j.retry.AsyncRetry.Metrics
Returns the number of failed calls without a retry attempt.
getNumberOfFailedCallsWithoutRetryAttempt() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.AsyncRetryMetrics
 
getNumberOfFailedCallsWithoutRetryAttempt() - Method in class io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
 
getNumberOfFailedCallsWithoutRetryAttempt() - Method in interface io.github.resilience4j.retry.Retry.Metrics
Returns the number of failed calls without a retry attempt.
getNumberOfFailedCallsWithRetryAttempt() - Method in interface io.github.resilience4j.retry.AsyncRetry.Metrics
Returns the number of failed calls after all retry attempts.
getNumberOfFailedCallsWithRetryAttempt() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.AsyncRetryMetrics
 
getNumberOfFailedCallsWithRetryAttempt() - Method in class io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
 
getNumberOfFailedCallsWithRetryAttempt() - Method in interface io.github.resilience4j.retry.Retry.Metrics
Returns the number of failed calls after all retry attempts.
getNumberOfRetryAttempts() - Method in interface io.github.resilience4j.retry.event.RetryEvent
Returns the number of retry attempts.
getNumberOfSuccessfulCallsWithoutRetryAttempt() - Method in interface io.github.resilience4j.retry.AsyncRetry.Metrics
Returns the number of successful calls without a retry attempt.
getNumberOfSuccessfulCallsWithoutRetryAttempt() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.AsyncRetryMetrics
 
getNumberOfSuccessfulCallsWithoutRetryAttempt() - Method in class io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
 
getNumberOfSuccessfulCallsWithoutRetryAttempt() - Method in interface io.github.resilience4j.retry.Retry.Metrics
Returns the number of successful calls without a retry attempt.
getNumberOfSuccessfulCallsWithRetryAttempt() - Method in interface io.github.resilience4j.retry.AsyncRetry.Metrics
Returns the number of successful calls after a retry attempt.
getNumberOfSuccessfulCallsWithRetryAttempt() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.AsyncRetryMetrics
 
getNumberOfSuccessfulCallsWithRetryAttempt() - Method in class io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
 
getNumberOfSuccessfulCallsWithRetryAttempt() - Method in interface io.github.resilience4j.retry.Retry.Metrics
Returns the number of successful calls after a retry attempt.
getRetryConfig() - Method in interface io.github.resilience4j.retry.AsyncRetry
Returns the RetryConfig of this Retry.
getRetryConfig() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl
 
getRetryConfig() - Method in class io.github.resilience4j.retry.internal.RetryImpl
 
getRetryConfig() - Method in interface io.github.resilience4j.retry.Retry
Returns the RetryConfig of this Retry.

I

InMemoryRetryRegistry - Class in io.github.resilience4j.retry.internal
Backend retry manager.
InMemoryRetryRegistry() - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
The constructor with default retry properties.
InMemoryRetryRegistry(RetryConfig) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
The constructor with custom default retry properties.
IntervalFunction - Interface in io.github.resilience4j.retry
 
intervalFunction(IntervalFunction) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
Set a function to modify the waiting interval after a failure.
io.github.resilience4j.retry - package io.github.resilience4j.retry
 
io.github.resilience4j.retry.event - package io.github.resilience4j.retry.event
 
io.github.resilience4j.retry.internal - package io.github.resilience4j.retry.internal
 

M

maxAttempts(int) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
 

O

of(String, RetryConfig) - Static method in interface io.github.resilience4j.retry.AsyncRetry
Creates a Retry with a custom Retry configuration.
of(String, Supplier<RetryConfig>) - Static method in interface io.github.resilience4j.retry.AsyncRetry
Creates a Retry with a custom Retry configuration.
of(long, Function<Long, Long>) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
of(Duration, Function<Long, Long>) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
of(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
of(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
of(String, RetryConfig) - Static method in interface io.github.resilience4j.retry.Retry
Creates a Retry with a custom Retry configuration.
of(String, Supplier<RetryConfig>) - Static method in interface io.github.resilience4j.retry.Retry
Creates a Retry with a custom Retry configuration.
of(RetryConfig) - Static method in interface io.github.resilience4j.retry.RetryRegistry
Creates a RetryRegistry with a custom Retry configuration.
ofDefaults(String) - Static method in interface io.github.resilience4j.retry.AsyncRetry
Creates a Retry with default configuration.
ofDefaults() - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofDefaults(String) - Static method in interface io.github.resilience4j.retry.Retry
Creates a Retry with default configuration.
ofDefaults() - Static method in class io.github.resilience4j.retry.RetryConfig
Creates a default Retry configuration.
ofDefaults() - Static method in interface io.github.resilience4j.retry.RetryRegistry
Creates a RetryRegistry with a default Retry configuration.
ofExponentialBackoff(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialBackoff(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialBackoff(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialBackoff(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialBackoff() - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(long, double, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(Duration, double, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofExponentialRandomBackoff() - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofRandomized(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofRandomized(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofRandomized(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofRandomized(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
ofRandomized() - Static method in interface io.github.resilience4j.retry.IntervalFunction
 
onError(Throwable) - Method in interface io.github.resilience4j.retry.AsyncRetry.Context
Records an failed call.
onError(EventConsumer<RetryOnErrorEvent>) - Method in interface io.github.resilience4j.retry.AsyncRetry.EventPublisher
 
onError(Throwable) - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.ContextImpl
 
onError(Exception) - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
 
onError(Exception) - Method in interface io.github.resilience4j.retry.Retry.Context
Handles a checked exception
onError(EventConsumer<RetryOnErrorEvent>) - Method in interface io.github.resilience4j.retry.Retry.EventPublisher
 
onIgnoredError(EventConsumer<RetryOnIgnoredErrorEvent>) - Method in interface io.github.resilience4j.retry.AsyncRetry.EventPublisher
 
onIgnoredError(EventConsumer<RetryOnIgnoredErrorEvent>) - Method in interface io.github.resilience4j.retry.Retry.EventPublisher
 
onRuntimeError(RuntimeException) - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
 
onRuntimeError(RuntimeException) - Method in interface io.github.resilience4j.retry.Retry.Context
Handles a runtime exception
onSuccess() - Method in interface io.github.resilience4j.retry.AsyncRetry.Context
Records a successful call.
onSuccess(EventConsumer<RetryOnSuccessEvent>) - Method in interface io.github.resilience4j.retry.AsyncRetry.EventPublisher
 
onSuccess() - Method in class io.github.resilience4j.retry.internal.AsyncRetryImpl.ContextImpl
 
onSuccess() - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
 
onSuccess() - Method in interface io.github.resilience4j.retry.Retry.Context
Records a successful call.
onSuccess(EventConsumer<RetryOnSuccessEvent>) - Method in interface io.github.resilience4j.retry.Retry.EventPublisher
 

R

retry(String) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
Returns a managed Retry or creates a new one with the default Retry configuration.
retry(String, RetryConfig) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
Returns a managed Retry or creates a new one with a custom Retry configuration.
retry(String, Supplier<RetryConfig>) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
 
Retry - Interface in io.github.resilience4j.retry
A Retry instance is thread-safe can be used to decorate multiple requests.
retry(String) - Method in interface io.github.resilience4j.retry.RetryRegistry
Returns a managed Retry or creates a new one with the default Retry configuration.
retry(String, RetryConfig) - Method in interface io.github.resilience4j.retry.RetryRegistry
Returns a managed Retry or creates a new one with a custom Retry configuration.
retry(String, Supplier<RetryConfig>) - Method in interface io.github.resilience4j.retry.RetryRegistry
Returns a managed Retry or creates a new one with a custom Retry configuration.
Retry.Context - Interface in io.github.resilience4j.retry
 
Retry.EventPublisher - Interface in io.github.resilience4j.retry
An EventPublisher which subscribes to the reactive stream of RetryEvents and can be used to register event consumers.
Retry.Metrics - Interface in io.github.resilience4j.retry
 
RetryConfig - Class in io.github.resilience4j.retry
 
RetryConfig.Builder - Class in io.github.resilience4j.retry
 
RetryEvent - Interface in io.github.resilience4j.retry.event
An event which is created by Retry.
RetryEvent.Type - Enum in io.github.resilience4j.retry.event
Event types which are created by a Retry.
RetryImpl - Class in io.github.resilience4j.retry.internal
 
RetryImpl(String, RetryConfig) - Constructor for class io.github.resilience4j.retry.internal.RetryImpl
 
RetryImpl.ContextImpl - Class in io.github.resilience4j.retry.internal
 
RetryImpl.RetryMetrics - Class in io.github.resilience4j.retry.internal
 
RetryOnErrorEvent - Class in io.github.resilience4j.retry.event
A RetryEvent which informs that a call has been retried, but still failed.
RetryOnErrorEvent(String, int, Throwable) - Constructor for class io.github.resilience4j.retry.event.RetryOnErrorEvent
 
retryOnException(Predicate<Throwable>) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
Configures a Predicate which evaluates if an exception should be retried.
RetryOnIgnoredErrorEvent - Class in io.github.resilience4j.retry.event
A RetryEvent which informs that an error has been ignored
RetryOnIgnoredErrorEvent(String, Throwable) - Constructor for class io.github.resilience4j.retry.event.RetryOnIgnoredErrorEvent
 
RetryOnSuccessEvent - Class in io.github.resilience4j.retry.event
A RetryEvent which informs that a call has been retried and a retry was successful.
RetryOnSuccessEvent(String, int, Throwable) - Constructor for class io.github.resilience4j.retry.event.RetryOnSuccessEvent
 
RetryRegistry - Interface in io.github.resilience4j.retry
The RetryRegistry is a factory to create Retry instances which stores all Retry instances in a registry.

T

toString() - Method in class io.github.resilience4j.retry.event.RetryOnErrorEvent
 
toString() - Method in class io.github.resilience4j.retry.event.RetryOnIgnoredErrorEvent
 
toString() - Method in class io.github.resilience4j.retry.event.RetryOnSuccessEvent
 

V

valueOf(String) - Static method in enum io.github.resilience4j.retry.event.RetryEvent.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.resilience4j.retry.event.RetryEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitDuration(Duration) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
 
A B C D E G I M O R T V W 
Skip navigation links