Package org.springframework.retry
package org.springframework.retry
Infrastructure implementations of retry concerns.
-
ClassDescriptionCallback for stateful retry after all tries are exhausted.RetryCallback<T,
E extends Throwable> Callback interface for an operation that can be retried using aRetryOperations
.Low-level access to ongoing retry operation.Interface for listener that can be used to add behaviour to a retry.Defines the basic set of operations implemented byRetryOperations
to execute operations with configurable retry behaviour.ARetryPolicy
is responsible for allocating and managing resources needed byRetryOperations
.Stateful retry is characterised by having to recognise the items that are being processed, so this interface is used primarily to provide a cache key in between failed attempts.Interface for statistics reporting of retry attempts.