- All Implemented Interfaces:
- RetryUtilities.ExponentialBackOffRetry<T>
- Enclosing class:
- RetryUtilities
public abstract static class RetryUtilities.ExponentiallyDecayingBatchWork<T>
extends Object
implements RetryUtilities.ExponentialBackOffRetry<T>
This class is a base implementation of a simple exponential back retry policy. The batch size
and decaying factor are provided with the constructor. It reduces the batch size by dividing
it by the decaying factor every time there is an exception in the execute method.