Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

addAbort(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
addAbort(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
addComplete(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
addComplete(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
addError(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
addError(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
addRecovery(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
addRecovery(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
addSequence(List<Long>) - Method in class org.springframework.retry.support.RetrySimulation
Add a sequence of sleeps to the simulation.
addStarted(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
addStarted(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
AlwaysRetryPolicy - Class in org.springframework.retry.policy
A RetryPolicy that always permits a retry.
AlwaysRetryPolicy() - Constructor for class org.springframework.retry.policy.AlwaysRetryPolicy
 
AnnotationAwareRetryOperationsInterceptor - Class in org.springframework.retry.annotation
Interceptor that parses the retry metadata on the method it is invoking and delegates to an appropriate RetryOperationsInterceptor.
AnnotationAwareRetryOperationsInterceptor() - Constructor for class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
 
AnnotationMethodResolver - Class in org.springframework.classify.util
MethodResolver implementation that finds a single Method on the given Class that contains the specified annotation type.
AnnotationMethodResolver(Class<? extends Annotation>) - Constructor for class org.springframework.classify.util.AnnotationMethodResolver
Create a MethodResolver for the specified Method-level annotation type

B

Backoff - Annotation Type in org.springframework.retry.annotation
Collects metadata for a BackOffPolicy.
backOff(BackOffContext) - Method in interface org.springframework.retry.backoff.BackOffPolicy
Back off/pause in an implementation-specific fashion.
backOff(BackOffContext) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
Pause for a length of time equal to ' exp(backOffContext.expSeed)'.
backOff(BackOffContext) - Method in class org.springframework.retry.backoff.StatelessBackOffPolicy
Delegates directly to the StatelessBackOffPolicy.doBackOff() method without passing on the BackOffContext argument which is not needed for stateless implementations.
BackOffContext - Interface in org.springframework.retry.backoff
 
BackOffInterruptedException - Exception in org.springframework.retry.backoff
Exception class signifiying that an attempt to back off using a BackOffPolicy was interrupted, most likely by an InterruptedException during a call to Thread.sleep(long).
BackOffInterruptedException(String) - Constructor for exception org.springframework.retry.backoff.BackOffInterruptedException
 
BackOffInterruptedException(String, Throwable) - Constructor for exception org.springframework.retry.backoff.BackOffInterruptedException
 
backOffOptions(long, double, long) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
Apply the backoff options.
backOffOptions(long, double, long) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
 
BackOffPolicy - Interface in org.springframework.retry.backoff
Strategy interface to control back off between attempts in a single retry operation.
backOffPolicy(BackOffPolicy) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
Apply the back off policy.
backOffPolicy(BackOffPolicy) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
 
BackToBackPatternClassifier<C,T> - Class in org.springframework.classify
A special purpose Classifier with easy configuration options for mapping from one arbitrary type of object to another via a pattern matcher.
BackToBackPatternClassifier() - Constructor for class org.springframework.classify.BackToBackPatternClassifier
Default constructor, provided as a convenience for people using setter injection.
BackToBackPatternClassifier(Classifier<C, String>, Classifier<String, T>) - Constructor for class org.springframework.classify.BackToBackPatternClassifier
Set up a classifier with input to the router and output from the matcher.
BinaryExceptionClassifier - Class in org.springframework.classify
A Classifier for exceptions that has only two classes (true and false).
BinaryExceptionClassifier(boolean) - Constructor for class org.springframework.classify.BinaryExceptionClassifier
Create a binary exception classifier with the provided default value.
BinaryExceptionClassifier(Collection<Class<? extends Throwable>>, boolean) - Constructor for class org.springframework.classify.BinaryExceptionClassifier
Create a binary exception classifier with the provided classes and their subclasses.
BinaryExceptionClassifier(Collection<Class<? extends Throwable>>) - Constructor for class org.springframework.classify.BinaryExceptionClassifier
Create a binary exception classifier with the default value false and value mapping true for the provided classes and their subclasses.
BinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean>) - Constructor for class org.springframework.classify.BinaryExceptionClassifier
Create a binary exception classifier using the given classification map and a default classification of false.
BinaryExceptionClassifier(Map<Class<? extends Throwable>, Boolean>, boolean) - Constructor for class org.springframework.classify.BinaryExceptionClassifier
Create a binary exception classifier using the given classification map and a default classification of false.
build() - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
 
build() - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
 
build() - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
 
build() - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatelessRetryInterceptorBuilder
 
buildAdvice() - Method in class org.springframework.retry.annotation.RetryConfiguration
 
buildPointcut(Set<Class<? extends Annotation>>) - Method in class org.springframework.retry.annotation.RetryConfiguration
Calculate a pointcut for the given retry annotation types, if any.

C

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
Base class for Classifier implementations.
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 the input by matching it against the patterns provided in PatternMatchingClassifier.setPatternMap(Map).
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
 

D

DEFAULT_CAPACITY - Static variable in class org.springframework.retry.policy.MapRetryContextCache
Default value for maximum capacity of the cache.
DEFAULT_CAPACITY - Static variable in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
Default value for maximum capacity of the cache.
DEFAULT_INITIAL_INTERVAL - Static variable in class org.springframework.retry.backoff.ExponentialBackOffPolicy
The default 'initialInterval' value - 100 millisecs.
DEFAULT_MAX_ATTEMPTS - Static variable in class org.springframework.retry.policy.SimpleRetryPolicy
The default limit to the number of attempts for a new policy.
DEFAULT_MAX_INTERVAL - Static variable in class org.springframework.retry.backoff.ExponentialBackOffPolicy
The default maximum backoff time (30 seconds).
DEFAULT_MULTIPLIER - Static variable in class org.springframework.retry.backoff.ExponentialBackOffPolicy
The default 'multiplier' value - value 2 (100% increase per backoff).
DEFAULT_TIMEOUT - Static variable in class org.springframework.retry.policy.TimeoutRetryPolicy
Default value for timeout (milliseconds).
DefaultRetryState - Class in org.springframework.retry.support
 
DefaultRetryState(Object, boolean, Classifier<? super Throwable, Boolean>) - Constructor for class org.springframework.retry.support.DefaultRetryState
Create a DefaultRetryState representing the state for a new retry attempt.
DefaultRetryState(Object, Classifier<? super Throwable, Boolean>) - Constructor for class org.springframework.retry.support.DefaultRetryState
Defaults the force refresh flag to false.
DefaultRetryState(Object, boolean) - Constructor for class org.springframework.retry.support.DefaultRetryState
Defaults the rollback classifier to null.
DefaultRetryState(Object) - Constructor for class org.springframework.retry.support.DefaultRetryState
Defaults the force refresh flag (to false) and the rollback classifier (to null).
DefaultRetryStatistics - Class in org.springframework.retry.stats
 
DefaultRetryStatistics(String) - Constructor for class org.springframework.retry.stats.DefaultRetryStatistics
 
DefaultRetryStatisticsFactory - Class in org.springframework.retry.stats
 
DefaultRetryStatisticsFactory() - Constructor for class org.springframework.retry.stats.DefaultRetryStatisticsFactory
 
DefaultStatisticsRepository - Class in org.springframework.retry.stats
 
DefaultStatisticsRepository() - Constructor for class org.springframework.retry.stats.DefaultStatisticsRepository
 
doBackOff() - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
doBackOff() - Method in class org.springframework.retry.backoff.NoBackOffPolicy
 
doBackOff() - Method in class org.springframework.retry.backoff.StatelessBackOffPolicy
Sub-classes should implement this method to perform the actual back off.
doBackOff() - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
doExecute(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, otherwise execute the recovery callback.
doWithRetry(RetryContext) - Method in interface org.springframework.retry.RetryCallback
Execute an operation with retry semantics.

E

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 the supplied RetryCallback with a fallback on exhausted retry to the RecoveryCallback.
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.

F

findAll() - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
findAll() - Method in interface org.springframework.retry.stats.StatisticsRepository
 
findMethod(Object) - Method in class org.springframework.classify.util.AnnotationMethodResolver
Find a single Method on the Class of the given candidate object that contains the annotation type for which this resolver is searching.
findMethod(Class<?>) - Method in class org.springframework.classify.util.AnnotationMethodResolver
Find a single Method on the given Class that contains the annotation type for which this resolver is searching.
findMethod(Object) - Method in interface org.springframework.classify.util.MethodResolver
Find a single Method on the provided Object that matches this resolver's criteria.
findMethod(Class<?>) - Method in interface org.springframework.classify.util.MethodResolver
Find a single Method on the given Class that matches this resolver's criteria.
findOne(String) - Method in class org.springframework.retry.stats.DefaultStatisticsRepository
 
findOne(String) - Method in interface org.springframework.retry.stats.StatisticsRepository
 
FixedBackOffPolicy - Class in org.springframework.retry.backoff
Implementation of BackOffPolicy that pauses for a fixed period of time before continuing.
FixedBackOffPolicy() - Constructor for class org.springframework.retry.backoff.FixedBackOffPolicy
 
FixedKeyGenerator - Class in org.springframework.retry.interceptor
 
FixedKeyGenerator(String) - Constructor for class org.springframework.retry.interceptor.FixedKeyGenerator
 

G

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
Public accessor for the locally enclosing RetryContext.
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
Create a MethodInvoker using the provided method name to search.
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
 

H

handleRetryExhausted(RecoveryCallback<T>, RetryContext, RetryState) - Method in class org.springframework.retry.support.RetryTemplate
Actions to take after final attempt has failed.
hashCode() - Method in class org.springframework.classify.util.SimpleMethodInvoker
 

I

implementsInterface(Class<?>) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
 
incrementAbortCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
incrementAbortCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
 
incrementAbortCount() - Method in interface org.springframework.retry.stats.MutableRetryStatistics
 
incrementCompleteCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
incrementCompleteCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
 
incrementCompleteCount() - Method in interface org.springframework.retry.stats.MutableRetryStatistics
 
incrementErrorCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
incrementErrorCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
 
incrementErrorCount() - Method in interface org.springframework.retry.stats.MutableRetryStatistics
 
incrementRecoveryCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
incrementRecoveryCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
 
incrementRecoveryCount() - Method in interface org.springframework.retry.stats.MutableRetryStatistics
 
incrementStartedCount() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
incrementStartedCount() - Method in class org.springframework.retry.stats.ExponentialAverageRetryStatistics
 
incrementStartedCount() - Method in interface org.springframework.retry.stats.MutableRetryStatistics
 
init() - Method in class org.springframework.retry.annotation.RetryConfiguration
 
invoke(MethodInvocation) - Method in class org.springframework.retry.annotation.AnnotationAwareRetryOperationsInterceptor
 
invoke(MethodInvocation) - Method in class org.springframework.retry.interceptor.RetryOperationsInterceptor
 
invoke(MethodInvocation) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
Wrap the method invocation in a stateful retry with the policy and other helpers provided.
invokeMethod(Object...) - Method in interface org.springframework.classify.util.MethodInvoker
 
invokeMethod(Object...) - Method in class org.springframework.classify.util.SimpleMethodInvoker
 
isExhaustedOnly() - Method in class org.springframework.retry.context.RetryContextSupport
 
isExhaustedOnly() - Method in interface org.springframework.retry.RetryContext
Public accessor for the exhausted flag RetryContext.setExhaustedOnly().
isForceRefresh() - Method in interface org.springframework.retry.RetryState
Indicate whether a cache lookup can be avoided.
isForceRefresh() - Method in class org.springframework.retry.support.DefaultRetryState
 
isNew(Object[]) - Method in interface org.springframework.retry.interceptor.NewMethodArgumentsIdentifier
Inspect the arguments and determine if they have never been processed before.

K

keyGenerator(MethodArgumentsKeyGenerator) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
 
keyGenerator(MethodArgumentsKeyGenerator) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
Stateful retry requires items to be identifiable.

L

label - Variable in class org.springframework.retry.interceptor.RetryInterceptorBuilder
 
label(String) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
 
logger - Variable in class org.springframework.retry.backoff.ExponentialBackOffPolicy
 
logger - Variable in class org.springframework.retry.support.RetryTemplate
 

M

MapRetryContextCache - Class in org.springframework.retry.policy
Map-based implementation of RetryContextCache.
MapRetryContextCache() - Constructor for class org.springframework.retry.policy.MapRetryContextCache
Create a MapRetryContextCache with default capacity.
MapRetryContextCache(int) - Constructor for class org.springframework.retry.policy.MapRetryContextCache
 
match(String, String) - Static method in class org.springframework.classify.PatternMatcher
Lifted from AntPathMatcher in Spring Core.
match(String) - Method in class org.springframework.classify.PatternMatcher
This method takes a String key and a map from Strings to values of any type.
maxAttempts(int) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.CircuitBreakerInterceptorBuilder
 
maxAttempts(int) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder
Apply the max attempts - a SimpleRetryPolicy will be used.
maxAttempts(int) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
 
MethodArgumentsKeyGenerator - Interface in org.springframework.retry.interceptor
Interface that allows method parameters to be identified and tagged by a unique key.
MethodInvocationRecoverer<T> - Interface in org.springframework.retry.interceptor
Strategy interface for recovery action when processing of an item fails.
MethodInvoker - Interface in org.springframework.classify.util
A strategy interface for invoking a method.
MethodInvokerUtils - Class in org.springframework.classify.util
Utility methods to create MethodInvoker instances.
MethodInvokerUtils() - Constructor for class org.springframework.classify.util.MethodInvokerUtils
 
MethodResolver - Interface in org.springframework.classify.util
Strategy interface for detecting a single Method on a Class.
MutableRetryStatistics - Interface in org.springframework.retry.stats
 

N

NAME - Static variable in interface org.springframework.retry.RetryContext
Retry context attribute name for reporting key.
NeverRetryPolicy - Class in org.springframework.retry.policy
A RetryPolicy that allows the first attempt but never permits a retry.
NeverRetryPolicy() - Constructor for class org.springframework.retry.policy.NeverRetryPolicy
 
newInstance() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
 
newInstance() - Method in class org.springframework.retry.backoff.ExponentialRandomBackOffPolicy
 
NewMethodArgumentsIdentifier - Interface in org.springframework.retry.interceptor
Strategy interface to distinguish new arguments from ones that have been processed before, e.g.
newMethodArgumentsIdentifier(NewMethodArgumentsIdentifier) - Method in class org.springframework.retry.interceptor.RetryInterceptorBuilder.StatefulRetryInterceptorBuilder
Apply a custom new item identifier.
NoBackOffPolicy - Class in org.springframework.retry.backoff
Implementation of BackOffPolicy that performs a no-op and as such all retry operation in a given set proceed one after the other with no pause.
NoBackOffPolicy() - Constructor for class org.springframework.retry.backoff.NoBackOffPolicy
 

O

ObjectWaitSleeper - Class in org.springframework.retry.backoff
Deprecated.
in favor of ThreadWaitSleeper
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.

P

PatternMatcher<S> - Class in org.springframework.classify
 
PatternMatcher(Map<String, S>) - Constructor for class org.springframework.classify.PatternMatcher
Initialize a new PatternMatcher with a map of patterns to values
PatternMatchingClassifier<T> - Class in org.springframework.classify
A Classifier that maps from String patterns with wildcards to a set of values of a given type.
PatternMatchingClassifier() - Constructor for class org.springframework.classify.PatternMatchingClassifier
Default constructor.
PatternMatchingClassifier(Map<String, T>) - Constructor for class org.springframework.classify.PatternMatchingClassifier
Create a classifier from the provided map.
put(Object, RetryContext) - Method in class org.springframework.retry.policy.MapRetryContextCache
 
put(Object, RetryContext) - Method in interface org.springframework.retry.policy.RetryContextCache
 
put(Object, RetryContext) - Method in class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
 

R

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
Apply a MethodInvocationRecoverer for the Retry interceptor.
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
Method for registering a context - should only be used by RetryOperations implementations to ensure that RetrySynchronizationManager.getContext() always returns the correct value.
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
Simplified facade to make it easier and simpler to build a StatefulRetryOperationsInterceptor or (stateless) RetryOperationsInterceptor by providing a fluent interface to defining the behavior on error.
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
Empty method implementation of RetryListener.
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
A RetryPolicy is responsible for allocating and managing resources needed by RetryOperations.
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
A RetrySimulator is a tool for exercising retry + backoff operations.
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
 

S

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
Setter for BackOffPolicy.
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
Public setter for the NewMethodArgumentsIdentifier.
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
Public setter for the MethodInvocationRecoverer to use if the retry is exhausted.
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
Public setter for the RetryContextCache.
setRetryContextCache(RetryContextCache) - Method in class org.springframework.retry.support.RetryTemplate
Public setter for the RetryContextCache.
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
Setter for RetryPolicy.
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
Create a SimpleRetryPolicy with the specified number of retry attempts.
SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
Create a SimpleRetryPolicy with the specified number of retry attempts.
SimpleRetryPolicy(int, Map<Class<? extends Throwable>, Boolean>, boolean, boolean) - Constructor for class org.springframework.retry.policy.SimpleRetryPolicy
Create a SimpleRetryPolicy with the specified number of retry attempts.
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 BackOffPolicys 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
Map-based implementation of RetryContextCache.
SoftReferenceMapRetryContextCache() - Constructor for class org.springframework.retry.policy.SoftReferenceMapRetryContextCache
Create a SoftReferenceMapRetryContextCache with default capacity.
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
Create a SubclassClassifier with null default value.
SubclassClassifier(C) - Constructor for class org.springframework.classify.SubclassClassifier
Create a SubclassClassifier with supplied default value.
SubclassClassifier(Map<Class<? extends T>, C>, C) - Constructor for class org.springframework.classify.SubclassClassifier
Create a SubclassClassifier with supplied default value.

T

TerminatedRetryException - Exception in org.springframework.retry
 
TerminatedRetryException(String, Throwable) - Constructor for exception org.springframework.retry.TerminatedRetryException
 
TerminatedRetryException(String) - Constructor for exception org.springframework.retry.TerminatedRetryException
 
ThreadWaitSleeper - Class in org.springframework.retry.backoff
Simple Sleeper implementation that just blocks the current Thread with sleep period.
ThreadWaitSleeper() - Constructor for class org.springframework.retry.backoff.ThreadWaitSleeper
 
TimeoutRetryPolicy - Class in org.springframework.retry.policy
A RetryPolicy that allows a retry only if it hasn't timed out.
TimeoutRetryPolicy() - Constructor for class org.springframework.retry.policy.TimeoutRetryPolicy
 
toString() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
 
toString() - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
 
toString() - Method in class org.springframework.retry.backoff.NoBackOffPolicy
 
toString() - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
 
toString() - Method in class org.springframework.retry.context.RetryContextSupport
 
toString() - Method in class org.springframework.retry.policy.SimpleRetryPolicy
 
toString() - Method in class org.springframework.retry.stats.DefaultRetryStatistics
 
toString() - Method in class org.springframework.retry.support.DefaultRetryState
 
toString() - Method in class org.springframework.retry.support.RetrySimulation.SleepSequence
 

U

UniformRandomBackOffPolicy - Class in org.springframework.retry.backoff
Implementation of BackOffPolicy that pauses for a random period of time before continuing.
UniformRandomBackOffPolicy() - Constructor for class org.springframework.retry.backoff.UniformRandomBackOffPolicy
 

V

validateInterfaces() - Method in class org.springframework.retry.annotation.RetryConfiguration
 

W

withBeanFactory(BeanFactory) - Method in class org.springframework.retry.policy.ExpressionRetryPolicy
 
withSleeper(Sleeper) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
 
withSleeper(Sleeper) - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
 
withSleeper(Sleeper) - Method in interface org.springframework.retry.backoff.SleepingBackOffPolicy
Clone the policy and return a new policy which uses the passed sleeper.
withSleeper(Sleeper) - Method in class org.springframework.retry.backoff.UniformRandomBackOffPolicy
 
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2018 SpringSource. All rights reserved.