Uses of Class
org.springframework.retry.interceptor.RetryInterceptorBuilder
Package
Description
Infrastructure implementations of retry aop concerns.
-
Uses of RetryInterceptorBuilder in org.springframework.retry.interceptor
Modifier and TypeClassDescriptionstatic class
static class
static class
Modifier and TypeMethodDescriptionRetryInterceptorBuilder.backOffOptions
(long initialInterval, double multiplier, long maxInterval) Apply the backoff options.RetryInterceptorBuilder.backOffPolicy
(BackOffPolicy policy) Apply the back off policy.RetryInterceptorBuilder.maxAttempts
(int maxAttempts) Apply the max attempts - a SimpleRetryPolicy will be used.RetryInterceptorBuilder.recoverer
(MethodInvocationRecoverer<?> recoverer) Apply aMethodInvocationRecoverer
for the Retry interceptor.RetryInterceptorBuilder.retryOperations
(RetryOperations retryOperations) Apply the retry operations - once this is set, other properties can no longer be set; can't be set if other properties have been applied.RetryInterceptorBuilder.retryPolicy
(RetryPolicy policy) Apply the retry policy - cannot be used if a custom retry template has been provided, or the max attempts or back off options or policy have been applied.