Package | Description |
---|---|
org.springframework.retry.backoff |
Infrastructure implementations of retry backoff concerns.
|
org.springframework.retry.interceptor |
Infrastructure implementations of retry aop concerns.
|
org.springframework.retry.support |
Infrastructure implementations of retry support concerns.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>>
A interface which can be mixed in by
BackOffPolicy s indicating that they sleep
when backing off. |
Modifier and Type | Class and Description |
---|---|
class |
ExponentialBackOffPolicy
Implementation of
BackOffPolicy that increases the back off period
for each retry attempt in a given set using the exponential function. |
class |
ExponentialRandomBackOffPolicy
Implementation of
ExponentialBackOffPolicy that
chooses a random multiple of the interval. |
class |
FixedBackOffPolicy
Implementation of
BackOffPolicy that pauses for a fixed period of time before
continuing. |
class |
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. |
class |
StatelessBackOffPolicy
Simple base class for
BackOffPolicy implementations that maintain no
state across invocations. |
class |
UniformRandomBackOffPolicy
Implementation of
BackOffPolicy that pauses for a random period of
time before continuing. |
Modifier and Type | Method and Description |
---|---|
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.backOffPolicy(BackOffPolicy policy)
Apply the back off policy.
|
RetryInterceptorBuilder.StatefulRetryInterceptorBuilder |
RetryInterceptorBuilder.StatefulRetryInterceptorBuilder.backOffPolicy(BackOffPolicy policy) |
Modifier and Type | Method and Description |
---|---|
void |
RetryTemplate.setBackOffPolicy(BackOffPolicy backOffPolicy)
Setter for
BackOffPolicy . |
Copyright © 2014 SpringSource. All rights reserved.