Index
A B C D E F G I M O R S T V W
All Classes|All Packages
All Classes|All Packages
All Classes|All Packages
A
- addRegistryEventConsumer(RegistryEventConsumer<Retry>) - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
-
Configures a RetryRegistry with a Retry registry event consumer.
- addRetryConfig(String, RetryConfig) - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
-
Configures a RetryRegistry with a custom Retry configuration.
- asyncContext() - Method in class io.github.resilience4j.retry.internal.RetryImpl
- asyncContext() - Method in interface io.github.resilience4j.retry.Retry
-
Creates a async retry Context.
- AsyncContextImpl() - Constructor for class io.github.resilience4j.retry.internal.RetryImpl.AsyncContextImpl
B
- build() - Method in class io.github.resilience4j.retry.RetryConfig.Builder
- build() - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
-
Builds a RetryRegistry
- Builder() - Constructor for class io.github.resilience4j.retry.RetryConfig.Builder
- Builder() - Constructor for class io.github.resilience4j.retry.RetryRegistry.Builder
- Builder(RetryConfig) - Constructor for class io.github.resilience4j.retry.RetryConfig.Builder
C
- context() - Method in class io.github.resilience4j.retry.internal.RetryImpl
- context() - Method in interface io.github.resilience4j.retry.Retry
-
Creates a retry Context.
- createMaxRetriesExceededException(Retry) - Static method in exception io.github.resilience4j.retry.MaxRetriesExceededException
-
Static method to construct a
MaxRetriesExceededException
- custom() - Static method in class io.github.resilience4j.retry.RetryConfig
-
Returns a builder to create a custom RetryConfig.
- custom() - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns a builder to create a custom RetryRegistry.
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(Retry, ScheduledExecutorService, Supplier<CompletionStage<T>>) - Static method in interface io.github.resilience4j.retry.Retry
-
Decorates CompletionStageSupplier with Retry
- decorateEitherSupplier(Retry, Supplier<Either<E, T>>) - Static method in interface io.github.resilience4j.retry.Retry
-
Creates a retryable supplier.
- 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.
- decorateTrySupplier(Retry, Supplier<Try<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
-
Deprecated.
- DEFAULT_MAX_ATTEMPTS - Static variable in class io.github.resilience4j.retry.RetryConfig
- DEFAULT_MULTIPLIER - Static variable in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- DEFAULT_PREFIX - Static variable in class io.github.resilience4j.retry.utils.MetricNames
- DEFAULT_PREFIX_ASYNC - Static variable in class io.github.resilience4j.retry.utils.MetricNames
- DEFAULT_RANDOMIZATION_FACTOR - Static variable in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- DEFAULT_WAIT_DURATION - Static variable in class io.github.resilience4j.retry.RetryConfig
E
- ERROR - io.github.resilience4j.retry.event.RetryEvent.Type
-
A RetryEvent which informs that a call has been retried, but still failed
- executeCallable(Callable<T>) - Method in interface io.github.resilience4j.retry.Retry
-
Decorates and executes the decorated Callable.
- executeCheckedSupplier(CheckedFunction0<T>) - Method in interface io.github.resilience4j.retry.Retry
-
Decorates and executes the decorated Supplier.
- executeCompletionStage(ScheduledExecutorService, Supplier<CompletionStage<T>>) - Method in interface io.github.resilience4j.retry.Retry
-
Decorates and executes the decorated CompletionStage.
- executeEitherSupplier(Supplier<Either<E, T>>) - Method in interface io.github.resilience4j.retry.Retry
-
Decorates and executes the decorated Supplier.
- 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.
- executeTrySupplier(Supplier<Try<T>>) - Method in interface io.github.resilience4j.retry.Retry
-
Decorates and executes the decorated Supplier.
F
- failAfterMaxAttempts(boolean) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Configures the Retry to throw a
MaxRetriesExceeded
exception onceRetryConfig.Builder.maxAttempts
has been reached, and the result is still not satisfactory (according toRetryConfig.Builder.retryOnResultPredicate
) - FAILED_CALLS_WITH_RETRY - Static variable in class io.github.resilience4j.retry.utils.MetricNames
- FAILED_CALLS_WITHOUT_RETRY - Static variable in class io.github.resilience4j.retry.utils.MetricNames
- from(RetryConfig) - Static method in class io.github.resilience4j.retry.RetryConfig
G
- getAllRetries() - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
-
Returns all managed
Retry
instances. - getAllRetries() - Method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns all managed
Retry
instances. - getCausingRetryName() - Method in exception io.github.resilience4j.retry.MaxRetriesExceededException
- getCreationTime() - Method in interface io.github.resilience4j.retry.event.RetryEvent
-
Returns the creation time of Retry event.
- 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.RetryOnRetryEvent
- getEventType() - Method in class io.github.resilience4j.retry.event.RetryOnSuccessEvent
- getExceptionPredicate() - Method in class io.github.resilience4j.retry.RetryConfig
- getIntervalBiFunction() - Method in class io.github.resilience4j.retry.RetryConfig
-
Return the IntervalBiFunction which calculates wait interval based on result or exception
- getIntervalFunction() - Method in class io.github.resilience4j.retry.RetryConfig
-
Deprecated.
- 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 class io.github.resilience4j.retry.internal.RetryImpl
-
Get the Metrics of this Retry instance.
- getMetrics() - Method in interface io.github.resilience4j.retry.Retry
-
Get the Metrics of this Retry instance.
- 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.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 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 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 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 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.
- getResultPredicate() - Method in class io.github.resilience4j.retry.RetryConfig
-
Return the Predicate which evaluates if an result should be retried.
- 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.
- getTags() - Method in class io.github.resilience4j.retry.internal.RetryImpl
- getTags() - Method in interface io.github.resilience4j.retry.Retry
-
Returns an unmodifiable map with tags assigned to this Retry.
- getWaitInterval() - Method in class io.github.resilience4j.retry.event.RetryOnRetryEvent
-
Returns the interval used to wait before next retry.
I
- IGNORED_ERROR - io.github.resilience4j.retry.event.RetryEvent.Type
-
A RetryEvent which informs that an error has been ignored
- ignoreExceptions(Class<? extends Throwable>...) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Configures a list of error classes that are ignored and thus are not retried.
- 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 default.
- InMemoryRetryRegistry(RetryConfig) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
-
The constructor with custom default config.
- InMemoryRetryRegistry(RetryConfig, RegistryEventConsumer<Retry>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(RetryConfig, RegistryEventConsumer<Retry>, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(RetryConfig, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(RetryConfig, List<RegistryEventConsumer<Retry>>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(RetryConfig, List<RegistryEventConsumer<Retry>>, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, RegistryEventConsumer<Retry>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, RegistryEventConsumer<Retry>, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, List<RegistryEventConsumer<Retry>>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, List<RegistryEventConsumer<Retry>>, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- InMemoryRetryRegistry(Map<String, RetryConfig>, List<RegistryEventConsumer<Retry>>, Map<String, String>, RegistryStore<Retry>) - Constructor for class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- intervalBiFunction(IntervalBiFunction<T>) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Set a function to modify the waiting interval after a failure based on attempt number and result or exception.
- intervalFunction(IntervalFunction) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Set a function to modify the waiting interval after a failure.
- IntervalFunction - Interface in io.github.resilience4j.retry
-
Deprecated.
- 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
- io.github.resilience4j.retry.utils - package io.github.resilience4j.retry.utils
- isFailAfterMaxAttempts() - Method in class io.github.resilience4j.retry.RetryConfig
- isWritableStackTraceEnabled() - Method in class io.github.resilience4j.retry.RetryConfig
M
- maxAttempts(int) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
- MaxRetriesExceeded - Exception in io.github.resilience4j.retry
-
Max Retries reached out exception , to be thrown on result predicate check exceed the max configured retries
- MaxRetriesExceeded(String) - Constructor for exception io.github.resilience4j.retry.MaxRetriesExceeded
- MaxRetriesExceededException - Exception in io.github.resilience4j.retry
-
A
MaxRetriesExceededException
signals that aRetry
has exhausted all attempts, and the result is still not satisfactory toRetryConfig.getResultPredicate()
- MetricNames - Class in io.github.resilience4j.retry.utils
- MetricNames() - Constructor for class io.github.resilience4j.retry.utils.MetricNames
O
- of(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- of(long, Function<Long, Long>) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- of(RetryConfig) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a custom default Retry configuration.
- of(RetryConfig, RegistryEventConsumer<Retry>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a custom default Retry configuration and a Retry registry event consumer.
- of(RetryConfig, List<RegistryEventConsumer<Retry>>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a custom default Retry configuration and a list of Retry registry event consumers.
- of(String, RetryConfig) - Static method in interface io.github.resilience4j.retry.Retry
-
Creates a Retry with a custom Retry configuration.
- of(String, RetryConfig, Map<String, String>) - 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(String, Supplier<RetryConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.retry.Retry
-
Creates a Retry with a custom Retry configuration.
- of(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- of(Duration, Function<Long, Long>) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- of(Map<String, RetryConfig>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a Map of shared Retry configurations.
- of(Map<String, RetryConfig>, RegistryEventConsumer<Retry>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a Map of shared Retry configurations and a Retry registry event consumer.
- of(Map<String, RetryConfig>, RegistryEventConsumer<Retry>, Map<String, String>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a Map of shared Retry configurations and a Retry registry event consumer.
- of(Map<String, RetryConfig>, Map<String, String>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a Map of shared Retry configurations.
- of(Map<String, RetryConfig>, List<RegistryEventConsumer<Retry>>) - Static method in interface io.github.resilience4j.retry.RetryRegistry
-
Creates a RetryRegistry with a Map of shared Retry configurations and a list of Retry registry event consumers.
- ofDefaults() - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- 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.
- ofDefaults(String) - Static method in interface io.github.resilience4j.retry.Retry
-
Creates a Retry with default configuration.
- ofExponentialBackoff() - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialBackoff(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialBackoff(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialBackoff(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialBackoff(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff() - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(long, double, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofExponentialRandomBackoff(Duration, double, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofRandomized() - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofRandomized(long) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofRandomized(long, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofRandomized(Duration) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- ofRandomized(Duration, double) - Static method in interface io.github.resilience4j.retry.IntervalFunction
-
Deprecated.
- onComplete() - Method in class io.github.resilience4j.retry.internal.RetryImpl.AsyncContextImpl
- onComplete() - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
- onComplete() - Method in interface io.github.resilience4j.retry.Retry.AsyncContext
-
Records a successful call or retryable call with the needed generated retry events.
- onComplete() - Method in interface io.github.resilience4j.retry.Retry.Context
-
Records a successful call or retryable call with the needed generated retry events.
- onError(EventConsumer<RetryOnErrorEvent>) - Method in interface io.github.resilience4j.retry.Retry.EventPublisher
- 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(Throwable) - Method in class io.github.resilience4j.retry.internal.RetryImpl.AsyncContextImpl
- onError(Throwable) - Method in interface io.github.resilience4j.retry.Retry.AsyncContext
-
Records an failed call.
- onIgnoredError(EventConsumer<RetryOnIgnoredErrorEvent>) - Method in interface io.github.resilience4j.retry.Retry.EventPublisher
- onResult(T) - Method in class io.github.resilience4j.retry.internal.RetryImpl.AsyncContextImpl
- onResult(T) - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
- onResult(T) - Method in interface io.github.resilience4j.retry.Retry.AsyncContext
-
check the result call.
- onResult(T) - Method in interface io.github.resilience4j.retry.Retry.Context
- onRetry(EventConsumer<RetryOnRetryEvent>) - 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 class io.github.resilience4j.retry.internal.RetryImpl.AsyncContextImpl
-
Deprecated.since 1.2.0
- onSuccess() - Method in class io.github.resilience4j.retry.internal.RetryImpl.ContextImpl
-
Deprecated.since 1.2.0
- onSuccess() - Method in interface io.github.resilience4j.retry.Retry.AsyncContext
-
Deprecated.since 1.2.0
- onSuccess() - Method in interface io.github.resilience4j.retry.Retry.Context
-
Deprecated.since 1.2.0
- 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) - 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 class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
-
Returns a managed
Retry
or creates a new one with a custom 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, RetryConfig, Map<String, String>) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- retry(String, RetryConfig, Map<String, String>) - Method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns a managed
Retry
or creates a new one with a custom Retry configuration. - retry(String, Map<String, 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, Map<String, 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, String) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
-
Returns a managed
Retry
or creates a new one. - retry(String, String) - Method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns a managed
Retry
or creates a new one. - retry(String, String, Map<String, String>) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- retry(String, String, Map<String, String>) - Method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns a managed
Retry
or creates a new one. - retry(String, Supplier<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 interface io.github.resilience4j.retry.RetryRegistry
-
Returns a managed
Retry
or creates a new one with a custom Retry configuration. - retry(String, Supplier<RetryConfig>, Map<String, String>) - Method in class io.github.resilience4j.retry.internal.InMemoryRetryRegistry
- retry(String, Supplier<RetryConfig>, Map<String, String>) - Method in interface io.github.resilience4j.retry.RetryRegistry
-
Returns a managed
Retry
or creates a new one with a custom Retry configuration. - Retry - Interface in io.github.resilience4j.retry
-
A Retry instance is thread-safe can be used to decorate multiple requests.
- RETRY - io.github.resilience4j.retry.event.RetryEvent.Type
-
A RetryEvent which informs that a call has been tried, failed and will now be retried
- Retry.AsyncContext<T> - Interface in io.github.resilience4j.retry
- Retry.AsyncRetryBlock<T> - Class in io.github.resilience4j.retry
- Retry.Context<T> - Interface in io.github.resilience4j.retry
-
the retry context which will be used during the retry iteration to decide what can be done on error , result, on runtime error
- 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<T> - 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.
- retryExceptions(Class<? extends Throwable>...) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Configures a list of error classes that are recorded as a failure and thus are retried.
- RetryImpl<T> - Class in io.github.resilience4j.retry.internal
- RetryImpl(String, RetryConfig) - Constructor for class io.github.resilience4j.retry.internal.RetryImpl
- RetryImpl(String, RetryConfig, Map<String, String>) - Constructor for class io.github.resilience4j.retry.internal.RetryImpl
- RetryImpl.AsyncContextImpl - Class in io.github.resilience4j.retry.internal
- 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, such that the the maximum number of attempts has been reached.
- 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
- retryOnResult(Predicate<T>) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Configures a Predicate which evaluates if an result should be retried.
- RetryOnRetryEvent - Class in io.github.resilience4j.retry.event
-
A RetryEvent which informs that a call failed, and is to be retried.
- RetryOnRetryEvent(String, int, Throwable, long) - Constructor for class io.github.resilience4j.retry.event.RetryOnRetryEvent
- 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. - RetryRegistry.Builder - Class in io.github.resilience4j.retry
- run() - Method in class io.github.resilience4j.retry.Retry.AsyncRetryBlock
S
- SUCCESS - io.github.resilience4j.retry.event.RetryEvent.Type
-
A RetryEvent which informs that a call has been successful
- SUCCESSFUL_CALLS_WITH_RETRY - Static variable in class io.github.resilience4j.retry.utils.MetricNames
- SUCCESSFUL_CALLS_WITHOUT_RETRY - Static variable in class io.github.resilience4j.retry.utils.MetricNames
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.RetryOnRetryEvent
- 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
- withRegistryStore(RegistryStore<Retry>) - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
- withRetryConfig(RetryConfig) - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
-
Configures a RetryRegistry with a custom default Retry configuration.
- withTags(Map<String, String>) - Method in class io.github.resilience4j.retry.RetryRegistry.Builder
-
Configures a RetryRegistry with Tags.
- writableStackTraceEnabled(boolean) - Method in class io.github.resilience4j.retry.RetryConfig.Builder
-
Enables writable stack traces.
All Classes|All Packages