Package org.springframework.core.retry
@NullMarked
package org.springframework.core.retry
Main package for the core retry functionality.
-
ClassDescription
Retryableis a functional interface that can be used to implement any generic block of code that can potentially be retried.Exception thrown when aRetryPolicyhas been exhausted or interrupted.RetryListenerdefines a listener API for reacting to events published during the execution of aRetryableoperation.Interface specifying basic retry operations.Strategy interface to define a retry policy.Fluent API for configuring aRetryPolicywith common configuration options.A representation of the current retry state, including the current retry count and the exceptions accumulated so far.A basic implementation ofRetryOperationsthat executes and potentially retries aRetryableoperation based on a configuredRetryPolicy.