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.
|
Class | Description |
---|---|
ExponentialBackOffPolicy |
Implementation of
BackOffPolicy that increases the back off period
for each retry attempt in a given set using the exponential function. |
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 |
Simple
Sleeper implementation that just waits on a local Object. |
StatelessBackOffPolicy |
Simple base class for
BackOffPolicy implementations that maintain no
state across invocations. |
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 © 2013 SpringSource. All rights reserved.