See: Description
Interface | Description |
---|---|
BackOffContext | |
BackOffPolicy |
Strategy interface to control back off between attempts in a single
retry operation . |
Sleeper |
Strategy interface for backoff policies to delegate the pausing of execution.
|
SleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>> |
A interface which can be mixed in by
BackOffPolicy s indicating that they sleep
when backing off. |
Class | Description |
---|---|
ExponentialBackOffPolicy |
Implementation of
BackOffPolicy that increases the back off period
for each retry attempt in a given set using the exponential function. |
ExponentialRandomBackOffPolicy |
Implementation of
ExponentialBackOffPolicy that
chooses a random multiple of the interval. |
FixedBackOffPolicy |
Implementation of
BackOffPolicy that pauses for a fixed period of time before
continuing. |
NoBackOffPolicy |
Implementation of
BackOffPolicy that performs a no-op and as such all
retry operation in a given set proceed one after the other with no pause. |
ObjectWaitSleeper | Deprecated
in favor of
ThreadWaitSleeper |
StatelessBackOffPolicy |
Simple base class for
BackOffPolicy implementations that maintain no
state across invocations. |
ThreadWaitSleeper |
Simple
Sleeper implementation that just blocks the current Thread with sleep period. |
UniformRandomBackOffPolicy |
Implementation of
BackOffPolicy that pauses for a random period of
time before continuing. |
Exception | Description |
---|---|
BackOffInterruptedException |
Exception class signifiying that an attempt to back off using a
BackOffPolicy was interrupted, most likely by an
InterruptedException during a call to Thread.sleep(long) . |
Infrastructure implementations of retry backoff concerns.
Copyright © 2014 SpringSource. All rights reserved.