- canRetry(RetryContext) - Method in class org.springframework.retry.policy.AlwaysRetryPolicy
-
Always returns true.
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was
created.
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.ExpressionRetryPolicy
-
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.NeverRetryPolicy
-
Returns false after the first exception.
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
Test for retryable operation based on the status.
- canRetry(RetryContext) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
Only permits a retry if the timeout has not expired.
- canRetry(RetryContext) - Method in interface org.springframework.retry.RetryPolicy
-
- canRetry(RetryPolicy, RetryContext) - Method in class org.springframework.retry.support.RetryTemplate
-
Decide whether to proceed with the ongoing retry attempt.
- CIRCUIT_OPEN - Static variable in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- CIRCUIT_SHORT_COUNT - Static variable in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- CircuitBreaker - Annotation Type in org.springframework.retry.annotation
-
Annotation for a method invocation that is retryable.
- circuitBreaker() - Static method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a circuit breaker retry interceptor.
- CircuitBreakerRetryPolicy - Class in org.springframework.retry.policy
-
- CircuitBreakerRetryPolicy() - Constructor for class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- CircuitBreakerRetryPolicy(RetryPolicy) - Constructor for class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- Classifier - Annotation Type in org.springframework.classify.annotation
-
Mark a method as capable of classifying its input to an instance of its
output.
- Classifier<C,T> - Interface in org.springframework.classify
-
Interface for a classifier.
- ClassifierAdapter<C,T> - Class in org.springframework.classify
-
Wrapper for an object to adapt it to the
Classifier
interface.
- ClassifierAdapter() - Constructor for class org.springframework.classify.ClassifierAdapter
-
Default constructor for use with setter injection.
- ClassifierAdapter(Object) - Constructor for class org.springframework.classify.ClassifierAdapter
-
Create a new
Classifier
from the delegate provided.
- ClassifierAdapter(Classifier<C, T>) - Constructor for class org.springframework.classify.ClassifierAdapter
-
Create a new
Classifier
from the delegate provided.
- ClassifierSupport<C,T> - Class in org.springframework.classify
-
- ClassifierSupport(T) - Constructor for class org.springframework.classify.ClassifierSupport
-
- classify(C) - Method in class org.springframework.classify.BackToBackPatternClassifier
-
Classify the input and map to a String, then take that and put it into a
pattern matcher to match to an output value.
- classify(Throwable) - Method in class org.springframework.classify.BinaryExceptionClassifier
-
- classify(C) - Method in interface org.springframework.classify.Classifier
-
Classify the given object and return an object of a different type, possibly an
enumerated type.
- classify(C) - Method in class org.springframework.classify.ClassifierAdapter
-
Classify the given object and return an object of a different type, possibly an
enumerated type.
- classify(C) - Method in class org.springframework.classify.ClassifierSupport
-
Always returns the default value.
- classify(String) - Method in class org.springframework.classify.PatternMatchingClassifier
-
- classify(T) - Method in class org.springframework.classify.SubclassClassifier
-
Return the value from the type map whose key is the class of the given
Throwable, or its nearest ancestor if a subclass.
- clear() - Static method in class org.springframework.retry.support.RetrySynchronizationManager
-
Clear the current context at the end of a batch - should only be used by
RetryOperations
implementations.
- cloneValues(ExponentialBackOffPolicy) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
- close(RetryContext, RetryCallback<T, E>, Throwable) - Method in class org.springframework.retry.listener.RetryListenerSupport
-
- close(RetryContext) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- close(RetryContext) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was
created.
- close(RetryContext) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- close(RetryContext) - Method in class org.springframework.retry.policy.NeverRetryPolicy
-
Do nothing.
- close(RetryContext) - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
- close(RetryContext) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
- close(RetryContext, RetryCallback<T, E>, Throwable) - Method in interface org.springframework.retry.RetryListener
-
Called after the final attempt (successful or not).
- close(RetryContext) - Method in interface org.springframework.retry.RetryPolicy
-
- close(RetryContext, RetryCallback<T, E>, Throwable) - Method in class org.springframework.retry.stats.StatisticsListener
-
- close(RetryPolicy, RetryContext, RetryState, boolean) - Method in class org.springframework.retry.support.RetryTemplate
-
Clean up the cache if necessary and close the context provided (if the flag
indicates that processing was successful).
- CLOSED - Static variable in interface org.springframework.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the context has been closed.
- CompositeRetryPolicy - Class in org.springframework.retry.policy
-
A
RetryPolicy
that composes a list of other policies and delegates
calls to them in order.
- CompositeRetryPolicy() - Constructor for class org.springframework.retry.policy.CompositeRetryPolicy
-
- containsKey(Object) - Method in class org.springframework.retry.policy.MapRetryContextCache
-
- containsKey(Object) - Method in interface org.springframework.retry.policy.RetryContextCache
-
- containsKey(Object) - Method in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
- create(String) - Method in class org.springframework.retry.stats.DefaultRetryStatisticsFactory
-
- create(String) - Method in interface org.springframework.retry.stats.RetryStatisticsFactory
-
- EnableRetry - Annotation Type in org.springframework.retry.annotation
-
Global enabler for @Retryable
annotations in Spring beans.
- equals(Object) - Method in class org.springframework.classify.util.SimpleMethodInvoker
-
- ExceptionClassifierRetryPolicy - Class in org.springframework.retry.policy
-
A
RetryPolicy
that dynamically adapts to one of a set of injected
policies according to the value of the latest exception.
- ExceptionClassifierRetryPolicy() - Constructor for class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
- execute(RetryCallback<T, E>) - Method in interface org.springframework.retry.RetryOperations
-
Execute the supplied
RetryCallback
with the configured retry
semantics.
- execute(RetryCallback<T, E>, RecoveryCallback<T>) - Method in interface org.springframework.retry.RetryOperations
-
- execute(RetryCallback<T, E>, RetryState) - Method in interface org.springframework.retry.RetryOperations
-
A simple stateful retry.
- execute(RetryCallback<T, E>, RecoveryCallback<T>, RetryState) - Method in interface org.springframework.retry.RetryOperations
-
A stateful retry with a recovery path.
- execute(RetryCallback<T, E>) - Method in class org.springframework.retry.support.RetryTemplate
-
Keep executing the callback until it either succeeds or the policy dictates that we
stop, in which case the most recent exception thrown by the callback will be
rethrown.
- execute(RetryCallback<T, E>, RecoveryCallback<T>) - Method in class org.springframework.retry.support.RetryTemplate
-
Keep executing the callback until it either succeeds or the policy dictates that we
stop, in which case the recovery callback will be executed.
- execute(RetryCallback<T, E>, RetryState) - Method in class org.springframework.retry.support.RetryTemplate
-
Execute the callback once if the policy dictates that we can, re-throwing any
exception encountered so that clients can re-present the same task later.
- execute(RetryCallback<T, E>, RecoveryCallback<T>, RetryState) - Method in class org.springframework.retry.support.RetryTemplate
-
Execute the callback once if the policy dictates that we can, re-throwing any
exception encountered so that clients can re-present the same task later.
- executeSimulation(int) - Method in class org.springframework.retry.support.RetrySimulator
-
Execute the simulator for a give # of iterations.
- executeSingleSimulation() - Method in class org.springframework.retry.support.RetrySimulator
-
Execute a single simulation
- EXHAUSTED - Static variable in interface org.springframework.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the retry was exhausted.
- ExhaustedRetryException - Exception in org.springframework.retry
-
- ExhaustedRetryException(String, Throwable) - Constructor for exception org.springframework.retry.ExhaustedRetryException
-
- ExhaustedRetryException(String) - Constructor for exception org.springframework.retry.ExhaustedRetryException
-
- ExponentialAverageRetryStatistics - Class in org.springframework.retry.stats
-
- ExponentialAverageRetryStatistics(String) - Constructor for class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- ExponentialBackOffPolicy - Class in org.springframework.retry.backoff
-
Implementation of
BackOffPolicy
that increases the back off period for each
retry attempt in a given set using the
exponential
function.
- ExponentialBackOffPolicy() - Constructor for class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
- ExponentialRandomBackOffPolicy - Class in org.springframework.retry.backoff
-
Implementation of
ExponentialBackOffPolicy
that chooses a random multiple of the interval that would come from a simple
deterministic exponential.
- ExponentialRandomBackOffPolicy() - Constructor for class org.springframework.retry.backoff.ExponentialRandomBackOffPolicy
-
- ExpressionRetryPolicy - Class in org.springframework.retry.policy
-
Subclass of
SimpleRetryPolicy
that delegates to super.canRetry() and,
if true, further evaluates an expression against the last thrown exception.
- ExpressionRetryPolicy(Expression) - Constructor for class org.springframework.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided Expression
.
- ExpressionRetryPolicy(String) - Constructor for class org.springframework.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided expression.
- ExpressionRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, Expression) - Constructor for class org.springframework.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided Expression
.
- ExpressionRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, String) - Constructor for class org.springframework.retry.policy.ExpressionRetryPolicy
-
Construct an instance with the provided expression.
- get(Object) - Method in class org.springframework.retry.policy.MapRetryContextCache
-
- get(Object) - Method in interface org.springframework.retry.policy.RetryContextCache
-
- get(Object) - Method in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
- getAbortCount() - Method in interface org.springframework.retry.RetryStatistics
-
Get the number of times a block failed to complete successfully, even
after retry.
- getAbortCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getAdvice() - Method in class org.springframework.retry.annotation.RetryConfiguration
-
- getBackOffPeriod() - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
-
The backoff period in milliseconds.
- getClassFilter() - Method in class org.springframework.retry.annotation.RetryConfiguration
-
- getClassified() - Method in class org.springframework.classify.SubclassClassifier
-
- getCompleteCount() - Method in interface org.springframework.retry.RetryStatistics
-
- getCompleteCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getContext() - Static method in class org.springframework.retry.support.RetrySynchronizationManager
-
- getDefault() - Method in class org.springframework.classify.SubclassClassifier
-
Return the default value supplied in the constructor (default false).
- getErrorCount() - Method in interface org.springframework.retry.RetryStatistics
-
Get the number of errors detected, whether or not they resulted in a
retry.
- getErrorCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getInitialInterval() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
The initial period to sleep on the first backoff.
- getInterfaces() - Method in class org.springframework.retry.annotation.RetryConfiguration
-
- getKey(Object[]) - Method in class org.springframework.retry.interceptor.FixedKeyGenerator
-
- getKey(Object[]) - Method in interface org.springframework.retry.interceptor.MethodArgumentsKeyGenerator
-
Get a unique identifier for the item that can be used to cache it between
calls if necessary, and then identify it later.
- getKey() - Method in interface org.springframework.retry.RetryState
-
Key representing the state for a retry attempt.
- getKey() - Method in class org.springframework.retry.support.DefaultRetryState
-
- getLastThrowable() - Method in class org.springframework.retry.context.RetryContextSupport
-
- getLastThrowable() - Method in interface org.springframework.retry.RetryContext
-
Accessor for the exception object that caused the current retry.
- getLongestSleep() - Method in class org.springframework.retry.support.RetrySimulation.SleepSequence
-
- getLongestTotalSleepSequence() - Method in class org.springframework.retry.support.RetrySimulation
-
- getMaxAttempts() - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
The maximum number of attempts before failure.
- getMaxBackOffPeriod() - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
-
The maximum backoff period in milliseconds.
- getMaxInterval() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
The maximum interval to sleep for.
- getMethodInvokerByAnnotation(Class<? extends Annotation>, Object, Class<?>...) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
Create a MethodInvoker from the delegate based on the annotationType.
- getMethodInvokerByAnnotation(Class<? extends Annotation>, Object) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
Create
MethodInvoker
for the method with the provided annotation on the
provided object.
- getMethodInvokerByName(Object, String, boolean, Class<?>...) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
- getMethodInvokerForInterface(Class<?>, String, Object, Class<?>...) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
Create a
MethodInvoker
using the provided interface, and method name from
that interface.
- getMethodInvokerForSingleArgument(Object) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
Create a
MethodInvoker
for the delegate from a single public method.
- getMinBackOffPeriod() - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
-
The minimum backoff period in milliseconds.
- getMultiplier() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
The multiplier to use to generate the next backoff interval from the last.
- getName() - Method in interface org.springframework.retry.RetryStatistics
-
Get an identifier for the retry block for reporting purposes.
- getName() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getParamTypesString(Class<?>...) - Static method in class org.springframework.classify.util.MethodInvokerUtils
-
Create a String representation of the array of parameter types.
- getParent() - Method in class org.springframework.retry.context.RetryContextSupport
-
- getParent() - Method in interface org.springframework.retry.RetryContext
-
Accessor for the parent context if retry blocks are nested.
- getPercentile(double) - Method in class org.springframework.retry.support.RetrySimulation
-
- getPercentiles() - Method in class org.springframework.retry.support.RetrySimulation
-
- getPointcut() - Method in class org.springframework.retry.annotation.RetryConfiguration
-
- getRecoveryCount() - Method in interface org.springframework.retry.RetryStatistics
-
Get the number of times a recovery callback was applied.
- getRecoveryCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getRetryCount() - Method in class org.springframework.retry.context.RetryContextSupport
-
- getRetryCount() - Method in interface org.springframework.retry.RetryContext
-
Counts the number of retry attempts.
- getRollingAbortCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getRollingCompleteCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getRollingErrorCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getRollingErrorRate() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getRollingRecoveryCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getRollingStartedCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
- getSleeps() - Method in class org.springframework.retry.support.RetrySimulation.SleepSequence
-
- getStartedCount() - Method in interface org.springframework.retry.RetryStatistics
-
Get the number of times a retry block has been entered, irrespective of
how many times the operation was retried.
- getStartedCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- getTimeout() - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
The value of the timeout.
- getTotalSleep() - Method in class org.springframework.retry.support.RetrySimulation.SleepSequence
-
- ObjectWaitSleeper - Class in org.springframework.retry.backoff
-
- ObjectWaitSleeper() - Constructor for class org.springframework.retry.backoff.ObjectWaitSleeper
-
Deprecated.
- onError(RetryContext, RetryCallback<T, E>, Throwable) - Method in class org.springframework.retry.listener.RetryListenerSupport
-
- onError(RetryContext, RetryCallback<T, E>, Throwable) - Method in interface org.springframework.retry.RetryListener
-
Called after every unsuccessful attempt at a retry.
- onError(RetryContext, RetryCallback<T, E>, Throwable) - Method in class org.springframework.retry.stats.StatisticsListener
-
- open(RetryContext, RetryCallback<T, E>) - Method in class org.springframework.retry.listener.RetryListenerSupport
-
- open(RetryContext) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- open(RetryContext) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Creates a new context that copies the existing policies and keeps a list
of the contexts from each one.
- open(RetryContext) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Create an active context that proxies a retry policy by choosing a target
from the policy map.
- open(RetryContext) - Method in class org.springframework.retry.policy.NeverRetryPolicy
-
Return a context that can respond to early termination requests, but does
nothing else.
- open(RetryContext) - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
Get a status object that can be used to track the current operation
according to this policy.
- open(RetryContext) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
- open(RetryContext, RetryCallback<T, E>) - Method in interface org.springframework.retry.RetryListener
-
Called before the first attempt in a retry.
- open(RetryContext) - Method in interface org.springframework.retry.RetryPolicy
-
Acquire resources needed for the retry operation.
- open(RetryPolicy, RetryState) - Method in class org.springframework.retry.support.RetryTemplate
-
Delegate to the
RetryPolicy
having checked in the cache for an existing
value if the state is not null.
- org.springframework.classify - package org.springframework.classify
-
- org.springframework.classify.annotation - package org.springframework.classify.annotation
-
- org.springframework.classify.util - package org.springframework.classify.util
-
- org.springframework.retry - package org.springframework.retry
-
Infrastructure implementations of retry concerns.
- org.springframework.retry.annotation - package org.springframework.retry.annotation
-
- org.springframework.retry.backoff - package org.springframework.retry.backoff
-
Infrastructure implementations of retry backoff concerns.
- org.springframework.retry.context - package org.springframework.retry.context
-
Infrastructure implementations of retry context concerns.
- org.springframework.retry.interceptor - package org.springframework.retry.interceptor
-
Infrastructure implementations of retry aop concerns.
- org.springframework.retry.listener - package org.springframework.retry.listener
-
Infrastructure implementations of retry interceptor concerns.
- org.springframework.retry.policy - package org.springframework.retry.policy
-
Infrastructure implementations of retry policy concerns.
- org.springframework.retry.stats - package org.springframework.retry.stats
-
- org.springframework.retry.support - package org.springframework.retry.support
-
Infrastructure implementations of retry support concerns.
- Recover - Annotation Type in org.springframework.retry.annotation
-
Annotation for a method invocation that is a recovery handler.
- recover(Object[], Throwable) - Method in class org.springframework.retry.annotation.RecoverAnnotationRecoveryHandler
-
- recover(Object[], Throwable) - Method in interface org.springframework.retry.interceptor.MethodInvocationRecoverer
-
Recover gracefully from an error.
- recover(RetryContext) - Method in interface org.springframework.retry.RecoveryCallback
-
- RecoverAnnotationRecoveryHandler<T> - Class in org.springframework.retry.annotation
-
A recoverer for method invocations based on the @Recover
annotation.
- RecoverAnnotationRecoveryHandler(Object, Method) - Constructor for class org.springframework.retry.annotation.RecoverAnnotationRecoveryHandler
-
- RECOVERED - Static variable in interface org.springframework.retry.RetryContext
-
Retry context attribute that is non-null (and true) if the recovery path was taken.
- recoverer(MethodInvocationRecoverer<?>) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
-
- recoverer - Variable in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
- recoverer(MethodInvocationRecoverer<?>) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
- recoverer(MethodInvocationRecoverer<?>) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
- RecoveryCallback<T> - Interface in org.springframework.retry
-
Callback for stateful retry after all tries are exhausted.
- register(RetryContext) - Static method in class org.springframework.retry.support.RetrySynchronizationManager
-
- registerListener(RetryListener) - Method in class org.springframework.retry.support.RetryTemplate
-
Register an additional listener.
- registerThrowable(Throwable) - Method in class org.springframework.retry.context.RetryContextSupport
-
Set the exception for the public interface
RetryContext
, and
also increment the retry count if the throwable is non-null.
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Delegate to the policies that were in operation when the context was
created.
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Delegate to the policy currently activated in the context.
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.NeverRetryPolicy
-
Make the throwable available for downstream use through the context.
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
Update the status with another attempted retry and the latest exception.
- registerThrowable(RetryContext, Throwable) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
- registerThrowable(RetryContext, Throwable) - Method in interface org.springframework.retry.RetryPolicy
-
Called once per retry attempt, after the callback fails.
- registerThrowable(RetryPolicy, RetryState, RetryContext, Throwable) - Method in class org.springframework.retry.support.RetryTemplate
-
- remove(Object) - Method in class org.springframework.retry.policy.MapRetryContextCache
-
- remove(Object) - Method in interface org.springframework.retry.policy.RetryContextCache
-
- remove(Object) - Method in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
- rethrow(RetryContext, String) - Method in class org.springframework.retry.support.RetryTemplate
-
- Retryable - Annotation Type in org.springframework.retry.annotation
-
Annotation for a method invocation that is retryable.
- Retryable - Interface in org.springframework.retry.interceptor
-
Marker interface for proxies that are providing retryable behaviour.
- RetryCacheCapacityExceededException - Exception in org.springframework.retry.policy
-
Exception that indicates that a cache limit was exceeded.
- RetryCacheCapacityExceededException(String) - Constructor for exception org.springframework.retry.policy.RetryCacheCapacityExceededException
-
Constructs a new instance with a message.
- RetryCacheCapacityExceededException(String, Throwable) - Constructor for exception org.springframework.retry.policy.RetryCacheCapacityExceededException
-
Constructs a new instance with a message and nested exception.
- RetryCallback<T,E extends Throwable> - Interface in org.springframework.retry
-
Callback interface for an operation that can be retried using a
RetryOperations
.
- RetryConfiguration - Class in org.springframework.retry.annotation
-
Basic configuration for @Retryable
processing.
- RetryConfiguration() - Constructor for class org.springframework.retry.annotation.RetryConfiguration
-
- RetryContext - Interface in org.springframework.retry
-
Low-level access to ongoing retry operation.
- RetryContextCache - Interface in org.springframework.retry.policy
-
Simple map-like abstraction for stateful retry policies to use when storing and
retrieving
RetryContext
instances.
- RetryContextSupport - Class in org.springframework.retry.context
-
- RetryContextSupport(RetryContext) - Constructor for class org.springframework.retry.context.RetryContextSupport
-
- RetryException - Exception in org.springframework.retry
-
- RetryException(String, Throwable) - Constructor for exception org.springframework.retry.RetryException
-
- RetryException(String) - Constructor for exception org.springframework.retry.RetryException
-
- RetryInterceptorBuilder<T extends org.aopalliance.intercept.MethodInterceptor> - Class in org.springframework.retry.interceptor
-
- RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder - Class in org.springframework.retry.interceptor
-
- RetryInterceptorBuilder.StatefulRetryInterceptorBuilder - Class in org.springframework.retry.interceptor
-
- RetryInterceptorBuilder.StatelessRetryInterceptorBuilder - Class in org.springframework.retry.interceptor
-
- RetryListener - Interface in org.springframework.retry
-
Interface for listener that can be used to add behaviour to a retry.
- RetryListenerSupport - Class in org.springframework.retry.listener
-
- RetryListenerSupport() - Constructor for class org.springframework.retry.listener.RetryListenerSupport
-
- retryOperations(RetryOperations) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
-
- retryOperations - Variable in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
- retryOperations(RetryOperations) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
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.
- retryOperations(RetryOperations) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
- RetryOperations - Interface in org.springframework.retry
-
Defines the basic set of operations implemented by
RetryOperations
to
execute operations with configurable retry behaviour.
- RetryOperationsInterceptor - Class in org.springframework.retry.interceptor
-
A MethodInterceptor
that can be used to automatically retry calls to a method
on a service if it fails.
- RetryOperationsInterceptor() - Constructor for class org.springframework.retry.interceptor.RetryOperationsInterceptor
-
- retryPolicy(RetryPolicy) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
-
- retryPolicy(RetryPolicy) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
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.
- retryPolicy(RetryPolicy) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
- RetryPolicy - Interface in org.springframework.retry
-
- RetrySimulation - Class in org.springframework.retry.support
-
The results of a simulation.
- RetrySimulation() - Constructor for class org.springframework.retry.support.RetrySimulation
-
- RetrySimulation.SleepSequence - Class in org.springframework.retry.support
-
- RetrySimulator - Class in org.springframework.retry.support
-
- RetrySimulator(SleepingBackOffPolicy<?>, RetryPolicy) - Constructor for class org.springframework.retry.support.RetrySimulator
-
- RetryState - Interface in org.springframework.retry
-
Stateful retry is characterised by having to recognise the items that are
being processed, so this interface is used primarily to provide a cache key in
between failed attempts.
- RetryStatistics - Interface in org.springframework.retry
-
Interface for statistics reporting of retry attempts.
- RetryStatisticsFactory - Interface in org.springframework.retry.stats
-
- RetrySynchronizationManager - Class in org.springframework.retry.support
-
Global variable support for retry clients.
- retryTemplate - Variable in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
- RetryTemplate - Class in org.springframework.retry.support
-
Template class that simplifies the execution of operations with retry semantics.
- RetryTemplate() - Constructor for class org.springframework.retry.support.RetryTemplate
-
- rollbackFor(Classifier<? super Throwable, Boolean>) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
-
Control the rollback of an ongoing transaction.
- rollbackFor(Throwable) - Method in interface org.springframework.retry.RetryState
-
Check whether this exception requires a rollback.
- rollbackFor(Throwable) - Method in class org.springframework.retry.support.DefaultRetryState
-
- setBackOffPeriod(long) - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
-
Set the back off period in milliseconds.
- setBackOffPolicy(BackOffPolicy) - Method in class org.springframework.retry.support.RetryTemplate
-
- setBeanFactory(BeanFactory) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
- setBeanFactory(BeanFactory) - Method in class org.springframework.retry.annotation.RetryConfiguration
-
Set the BeanFactory
to be used when looking up executors by qualifier.
- setBeanFactory(BeanFactory) - Method in class org.springframework.retry.policy.ExpressionRetryPolicy
-
- setCapacity(int) - Method in class org.springframework.retry.policy.MapRetryContextCache
-
Public setter for the capacity.
- setCapacity(int) - Method in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
Public setter for the capacity.
- setDefaultValue(C) - Method in class org.springframework.classify.SubclassClassifier
-
Public setter for the default value for mapping keys that are not found
in the map (or their subclasses).
- setDelegate(Classifier<C, T>) - Method in class org.springframework.classify.ClassifierAdapter
-
- setDelegate(Object) - Method in class org.springframework.classify.ClassifierAdapter
-
Search for the
Classifier
annotation on a method in the supplied delegate and use that
to create a
Classifier
from the parameter type to the return
type.
- setExceptionClassifier(Classifier<Throwable, RetryPolicy>) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Setter for an exception classifier.
- setExhaustedOnly() - Method in class org.springframework.retry.context.RetryContextSupport
-
- setExhaustedOnly() - Method in interface org.springframework.retry.RetryContext
-
Signal to the framework that no more attempts should be made to try or retry the
current
RetryCallback
.
- setInitialInterval(long) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
Set the initial sleep interval value.
- setKeyGenerator(MethodArgumentsKeyGenerator) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
- setKeyGenerator(MethodArgumentsKeyGenerator) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- setLabel(String) - Method in class org.springframework.retry.interceptor.RetryOperationsInterceptor
-
- setLabel(String) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- setListeners(Collection<RetryListener>) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
Retry listeners to apply to all operations.
- setListeners(RetryListener[]) - Method in class org.springframework.retry.support.RetryTemplate
-
Setter for listeners.
- setMatcherMap(Map<String, T>) - Method in class org.springframework.classify.BackToBackPatternClassifier
-
A convenience method for creating a pattern matching classifier for the
matcher component.
- setMaxAttempts(int) - Method in class org.springframework.retry.policy.SimpleRetryPolicy
-
Set the number of attempts before retries are exhausted.
- setMaxBackOffPeriod(long) - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
-
Set the maximum back off period in milliseconds.
- setMaxInterval(long) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
Setter for maximum back off period.
- setMinBackOffPeriod(long) - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
-
Set the minimum back off period in milliseconds.
- setMultiplier(double) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
Set the multiplier value.
- setName(String) - Method in class org.springframework.retry.stats.DefaultRetryStatistics
-
- setNewItemIdentifier(NewMethodArgumentsIdentifier) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
- setNewItemIdentifier(NewMethodArgumentsIdentifier) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- setOpenTimeout(long) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
Timeout for tripping the open circuit.
- setOptimistic(boolean) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Setter for optimistic.
- setPatternMap(Map<String, T>) - Method in class org.springframework.classify.PatternMatchingClassifier
-
A map from pattern to value
- setPolicies(RetryPolicy[]) - Method in class org.springframework.retry.policy.CompositeRetryPolicy
-
Setter for policies.
- setPolicyMap(Map<Class<? extends Throwable>, RetryPolicy>) - Method in class org.springframework.retry.policy.ExceptionClassifierRetryPolicy
-
Setter for policy map used to create a classifier.
- setRecoverer(MethodInvocationRecoverer<?>) - Method in class org.springframework.retry.interceptor.RetryOperationsInterceptor
-
- setRecoverer(MethodInvocationRecoverer<?>) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- setResetTimeout(long) - Method in class org.springframework.retry.policy.CircuitBreakerRetryPolicy
-
Timeout for resetting circuit in milliseconds.
- setRetryContextCache(RetryContextCache) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
- setRetryContextCache(RetryContextCache) - Method in class org.springframework.retry.support.RetryTemplate
-
- setRetryOperations(RetryOperations) - Method in class org.springframework.retry.interceptor.RetryOperationsInterceptor
-
- setRetryOperations(RetryOperations) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- setRetryPolicy(RetryPolicy) - Method in class org.springframework.retry.support.RetryTemplate
-
- setRetryStatisticsFactory(RetryStatisticsFactory) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
-
- setRollbackClassifier(Classifier<? super Throwable, Boolean>) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
Rollback classifier for the retry state.
- setRouterDelegate(Object) - Method in class org.springframework.classify.BackToBackPatternClassifier
-
A convenience method of creating a router classifier based on a plain old
Java Object.
- setSleeper(Sleeper) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
-
- setSleeper(Sleeper) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
Public setter for the
Sleeper
strategy.
- setSleeper(Sleeper) - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
-
Public setter for the
Sleeper
strategy.
- setSleeper(Sleeper) - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
-
Public setter for the
Sleeper
strategy.
- setThrowLastExceptionOnExhausted(boolean) - Method in class org.springframework.retry.support.RetryTemplate
-
- setTimeout(long) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
-
Setter for timeout in milliseconds.
- setTraverseCauses(boolean) - Method in class org.springframework.classify.BinaryExceptionClassifier
-
- setTypeMap(Map<Class<? extends T>, C>) - Method in class org.springframework.classify.SubclassClassifier
-
Set the classifications up as a map.
- setUseRawKey(boolean) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
Set to true to use the raw key generated by the key generator.
- setWindow(long) - Method in class org.springframework.retry.stats.DefaultRetryStatisticsFactory
-
Window in milliseconds for exponential decay factor in rolling averages.
- setWindow(long) - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
-
Window in milliseconds for exponential decay factor in rolling average.
- shouldRethrow(RetryPolicy, RetryContext, RetryState) - Method in class org.springframework.retry.support.RetryTemplate
-
Extension point for subclasses to decide on behaviour after catching an exception
in a
RetryCallback
.
- SimpleMethodInvoker - Class in org.springframework.classify.util
-
Simple implementation of the
MethodInvoker
interface that invokes a
method on an object.
- SimpleMethodInvoker(Object, Method) - Constructor for class org.springframework.classify.util.SimpleMethodInvoker
-
- SimpleMethodInvoker(Object, String, Class<?>...) - Constructor for class org.springframework.classify.util.SimpleMethodInvoker
-
- simpleRetryPolicy - Variable in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
- SimpleRetryPolicy - Class in org.springframework.retry.policy
-
Simple retry policy that retries a fixed number of times for a set of named
exceptions (and subclasses).
- SimpleRetryPolicy() - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the default number of retry
attempts, retrying all exceptions.
- SimpleRetryPolicy(int) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
-
Create a
SimpleRetryPolicy
with the specified number of retry
attempts, retrying all exceptions.
- SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
-
- SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
-
- SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, boolean) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
-
- sleep(long) - Method in class org.springframework.retry.backoff.ObjectWaitSleeper
-
Deprecated.
- sleep(long) - Method in interface org.springframework.retry.backoff.Sleeper
-
Pause for the specified period using whatever means available.
- sleep(long) - Method in class org.springframework.retry.backoff.ThreadWaitSleeper
-
- Sleeper - Interface in org.springframework.retry.backoff
-
Strategy interface for backoff policies to delegate the pausing of execution.
- SleepingBackOffPolicy<T extends SleepingBackOffPolicy<T>> - Interface in org.springframework.retry.backoff
-
A interface which can be mixed in by
BackOffPolicy
s indicating that they sleep
when backing off.
- SleepSequence(List<Long>) - Constructor for class org.springframework.retry.support.RetrySimulation.SleepSequence
-
- SoftReferenceMapRetryContextCache - Class in org.springframework.retry.policy
-
- SoftReferenceMapRetryContextCache() - Constructor for class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
- SoftReferenceMapRetryContextCache(int) - Constructor for class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
-
- start(RetryContext) - Method in interface org.springframework.retry.backoff.BackOffPolicy
-
Start a new block of back off operations.
- start(RetryContext) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
-
Returns a new instance of
BackOffContext
configured with the 'expSeed' and
'increment' values.
- start(RetryContext) - Method in class org.springframework.retry.backoff.ExponentialRandomBackOffPolicy
-
Returns a new instance of
BackOffContext
,
seeded with this policies settings.
- start(RetryContext) - Method in class org.springframework.retry.backoff.StatelessBackOffPolicy
-
Returns 'null
'.
- STATE_KEY - Static variable in interface org.springframework.retry.RetryContext
-
Retry context attribute name for state key.
- stateful() - Static method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a stateful retry interceptor.
- StatefulRetryOperationsInterceptor - Class in org.springframework.retry.interceptor
-
A MethodInterceptor
that can be used to automatically retry calls to a method
on a service if it fails.
- StatefulRetryOperationsInterceptor() - Constructor for class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
-
- stateless() - Static method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
-
Create a builder for a stateless retry interceptor.
- StatelessBackOffPolicy - Class in org.springframework.retry.backoff
-
Simple base class for
BackOffPolicy
implementations that maintain no
state across invocations.
- StatelessBackOffPolicy() - Constructor for class org.springframework.retry.backoff.StatelessBackOffPolicy
-
- StatisticsListener - Class in org.springframework.retry.stats
-
- StatisticsListener(StatisticsRepository) - Constructor for class org.springframework.retry.stats.StatisticsListener
-
- StatisticsRepository - Interface in org.springframework.retry.stats
-
- SubclassClassifier<T,C> - Class in org.springframework.classify
-
A
Classifier
for a parameterised object type based on a map.
- SubclassClassifier() - Constructor for class org.springframework.classify.SubclassClassifier
-
- SubclassClassifier(C) - Constructor for class org.springframework.classify.SubclassClassifier
-
- SubclassClassifier(Map<Class<? extends T>, C>, C) - Constructor for class org.springframework.classify.SubclassClassifier
-