Package | Description |
---|---|
org.springframework.retry.backoff |
Infrastructure implementations of retry backoff concerns.
|
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.
|
protected abstract void |
StatelessBackOffPolicy.doBackOff()
Sub-classes should implement this method to perform the actual back off.
|
protected void |
UniformRandomBackOffPolicy.doBackOff()
Pause for the
UniformRandomBackOffPolicy.setMinBackOffPeriod(long) . |
protected void |
NoBackOffPolicy.doBackOff() |
protected void |
FixedBackOffPolicy.doBackOff()
Pause for the
FixedBackOffPolicy.setBackOffPeriod(long) . |
Copyright © 2018 SpringSource. All rights reserved.