@NonNullApi @NonNullFields
Package io.github.resilience4j.retry
-
Interface Summary Interface Description IntervalFunction Deprecated. Retry A Retry instance is thread-safe can be used to decorate multiple requests.Retry.AsyncContext<T> Retry.Context<T> the retry context which will be used during the retry iteration to decide what can be done on error , result, on runtime errorRetry.EventPublisher An EventPublisher which subscribes to the reactive stream of RetryEvents and can be used to register event consumers.Retry.Metrics RetryRegistry TheRetryRegistryis a factory to create Retry instances which stores all Retry instances in a registry. -
Class Summary Class Description Retry.AsyncRetryBlock<T> RetryConfig RetryConfig.Builder<T> RetryRegistry.Builder -
Exception Summary Exception Description MaxRetriesExceeded Max Retries reached out exception , to be thrown on result predicate check exceed the max configured retriesMaxRetriesExceededException AMaxRetriesExceededExceptionsignals that aRetryhas exhausted all attempts, and the result is still not satisfactory toRetryConfig.getResultPredicate()