Uses of Interface
org.springframework.retry.backoff.BackOffPolicy
Package
Description
Infrastructure implementations of retry backoff concerns.
Infrastructure implementations of retry aop concerns.
Infrastructure implementations of retry support concerns.
-
Uses of BackOffPolicy in org.springframework.retry.backoff
Modifier and TypeInterfaceDescriptioninterface
SleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>>
A interface which can be mixed in byBackOffPolicy
s indicating that they sleep when backing off.Modifier and TypeClassDescriptionclass
Implementation ofBackOffPolicy
that increases the back off period for each retry attempt in a given set up to a limit.class
Implementation ofExponentialBackOffPolicy
that chooses a random multiple of the interval that would come from a simple deterministic exponential.class
Implementation ofBackOffPolicy
that pauses for a fixed period of time before continuing.class
Implementation ofBackOffPolicy
that performs a no-op and as such all retry operation in a given set proceed one after the other with no pause.class
Simple base class forBackOffPolicy
implementations that maintain no state across invocations.class
Implementation ofBackOffPolicy
that pauses for a random period of time before continuing.Modifier and TypeMethodDescriptionBackOffPolicyBuilder.build()
Builds theBackOffPolicy
with the given parameters.static BackOffPolicy
BackOffPolicyBuilder.newDefaultPolicy()
Creates a newFixedBackOffPolicy
instance with a delay of 1000ms. -
Uses of BackOffPolicy in org.springframework.retry.interceptor
Modifier and TypeMethodDescriptionRetryInterceptorBuilder.backOffPolicy
(BackOffPolicy policy) Apply the back off policy.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder.backOffPolicy
(BackOffPolicy policy) -
Uses of BackOffPolicy in org.springframework.retry.support
Modifier and TypeMethodDescriptionRetryTemplateBuilder.customBackoff
(BackOffPolicy backOffPolicy) Use the providedBackOffPolicy
.void
RetryTemplate.setBackOffPolicy
(BackOffPolicy backOffPolicy) Setter forBackOffPolicy
.