Package | Description |
---|---|
org.springframework.retry.interceptor |
Infrastructure implementations of retry aop concerns.
|
Modifier and Type | Class and Description |
---|---|
static class |
RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder |
static class |
RetryInterceptorBuilder.StatefulRetryInterceptorBuilder |
static class |
RetryInterceptorBuilder.StatelessRetryInterceptorBuilder |
Modifier and Type | Method and Description |
---|---|
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.backOffOptions(long initialInterval,
double multiplier,
long maxInterval)
Apply the backoff options.
|
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.backOffPolicy(BackOffPolicy policy)
Apply the back off policy.
|
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.label(String label) |
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.maxAttempts(int maxAttempts)
Apply the max attempts - a SimpleRetryPolicy will be used.
|
RetryInterceptorBuilder<T> |
RetryInterceptorBuilder.recoverer(MethodInvocationRecoverer<?> recoverer)
Apply a
MethodInvocationRecoverer for the Retry interceptor. |
RetryInterceptorBuilder<T> |
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<T> |
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.
|
Copyright © 2018 SpringSource. All rights reserved.