| Package | Description |
|---|---|
| org.springframework.retry.backoff |
Infrastructure implementations of retry backoff concerns.
|
| Modifier and Type | Method and Description |
|---|---|
BackOffContext |
StatelessBackOffPolicy.start(RetryContext status)
Returns '
null'. |
BackOffContext |
ExponentialRandomBackOffPolicy.start(RetryContext context)
Returns a new instance of
BackOffContext,
seeded with this policies settings. |
BackOffContext |
ExponentialBackOffPolicy.start(RetryContext context)
Returns a new instance of
BackOffContext configured with the 'expSeed' and
'increment' values. |
BackOffContext |
BackOffPolicy.start(RetryContext context)
Start a new block of back off operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StatelessBackOffPolicy.backOff(BackOffContext backOffContext)
Delegates directly to the
StatelessBackOffPolicy.doBackOff() method without passing on
the BackOffContext argument which is not needed for stateless
implementations. |
void |
ExponentialBackOffPolicy.backOff(BackOffContext backOffContext)
Pause for a length of time equal to '
exp(backOffContext.expSeed)'. |
void |
BackOffPolicy.backOff(BackOffContext backOffContext)
Back off/pause in an implementation-specific fashion.
|
Copyright © 2018 SpringSource. All rights reserved.