Uses of Interface
org.springframework.retry.backoff.BackOffPolicy
Packages that use 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
Subinterfaces of BackOffPolicy in org.springframework.retry.backoffModifier and TypeInterfaceDescriptioninterfaceSleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>>A interface which can be mixed in byBackOffPolicys indicating that they sleep when backing off.Classes in org.springframework.retry.backoff that implement BackOffPolicyModifier and TypeClassDescriptionclassImplementation ofBackOffPolicythat increases the back off period for each retry attempt in a given set up to a limit.classImplementation ofExponentialBackOffPolicythat chooses a random multiple of the interval that would come from a simple deterministic exponential.classImplementation ofBackOffPolicythat pauses for a fixed period of time before continuing.classImplementation ofBackOffPolicythat performs a no-op and as such all retry operation in a given set proceed one after the other with no pause.classSimple base class forBackOffPolicyimplementations that maintain no state across invocations.classImplementation ofBackOffPolicythat pauses for a random period of time before continuing.Methods in org.springframework.retry.backoff that return BackOffPolicyModifier and TypeMethodDescriptionBackOffPolicyBuilder.build()Builds theBackOffPolicywith the given parameters.static BackOffPolicyBackOffPolicyBuilder.newDefaultPolicy()Creates a newFixedBackOffPolicyinstance with a delay of 1000ms. -
Uses of BackOffPolicy in org.springframework.retry.interceptor
Methods in org.springframework.retry.interceptor with parameters of type BackOffPolicyModifier and TypeMethodDescriptionRetryInterceptorBuilder.backOffPolicy(BackOffPolicy policy) Apply the back off policy.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder.backOffPolicy(BackOffPolicy policy) -
Uses of BackOffPolicy in org.springframework.retry.support
Methods in org.springframework.retry.support with parameters of type BackOffPolicyModifier and TypeMethodDescriptionRetryTemplateBuilder.customBackoff(BackOffPolicy backOffPolicy) Use the providedBackOffPolicy.voidRetryTemplate.setBackOffPolicy(BackOffPolicy backOffPolicy) Setter forBackOffPolicy.