Uses of Interface
org.springframework.retry.backoff.BackOffContext
Packages that use BackOffContext
Package
Description
Infrastructure implementations of retry backoff concerns.
-
Uses of BackOffContext in org.springframework.retry.backoff
Methods in org.springframework.retry.backoff that return BackOffContextModifier 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
'.Methods in org.springframework.retry.backoff with parameters of type BackOffContextModifier 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.