| Package | Description |
|---|---|
| org.springframework.retry.backoff |
Infrastructure implementations of retry backoff concerns.
|
| Modifier and Type | Method and Description |
|---|---|
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 with the configured properties. |
BackOffContext |
StatelessBackOffPolicy.start(RetryContext status)
Returns '
null'. |
BackOffContext |
BackOffPolicy.start(RetryContext context)
Start a new block of back off operations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExponentialBackOffPolicy.backOff(BackOffContext backOffContext)
Pause for the current backoff interval.
|
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 |
BackOffPolicy.backOff(BackOffContext backOffContext)
Back off/pause in an implementation-specific fashion.
|
Copyright © 2022 SpringSource. All rights reserved.