Uses of Interface
org.springframework.retry.backoff.BackOffContext
Package
Description
Infrastructure implementations of retry backoff concerns.
-
Uses of BackOffContext in org.springframework.retry.backoff
Modifier and TypeMethodDescriptionBackOffPolicy.start
(RetryContext context) Start a new block of back off operations.ExponentialBackOffPolicy.start
(RetryContext context) Returns a new instance ofBackOffContext
with the configured properties.ExponentialRandomBackOffPolicy.start
(RetryContext context) Returns a new instance ofBackOffContext
, seeded with this policies settings.StatelessBackOffPolicy.start
(RetryContext status) Returns 'null
'.Modifier and TypeMethodDescriptionvoid
BackOffPolicy.backOff
(BackOffContext backOffContext) Back off/pause in an implementation-specific fashion.void
ExponentialBackOffPolicy.backOff
(BackOffContext backOffContext) Pause for the current backoff interval.final void
StatelessBackOffPolicy.backOff
(BackOffContext backOffContext) Delegates directly to theStatelessBackOffPolicy.doBackOff()
method without passing on theBackOffContext
argument which is not needed for stateless implementations.