A B C D E F G H I L M N O P R S T

A

AlwaysRetryPolicy - Class in org.springframework.retry.policy
A RetryPolicy that always permits a retry.
AlwaysRetryPolicy() - Constructor for class org.springframework.retry.policy.AlwaysRetryPolicy
 
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(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
 
BackOffPolicy - Interface in org.springframework.retry.backoff
Strategy interface to control back off between attempts in a single retry operation.
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.

C

canRetry(RetryContext) - Method in class org.springframework.retry.policy.AlwaysRetryPolicy
Always returns true.
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.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.
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(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 RepeatOperations implementations.
close(RetryContext, RetryCallback<T>, Throwable) - Method in class org.springframework.retry.listener.RetryListenerSupport
 
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>, 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(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).
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
 

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).
doBackOff() - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
Pause for the FixedBackOffPolicy.setBackOffPeriod(long).
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.
doExecute(RetryCallback<T>, 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

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>) - Method in interface org.springframework.retry.RetryOperations
Execute the supplied RetryCallback with the configured retry semantics.
execute(RetryCallback<T>, 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>, RetryState) - Method in interface org.springframework.retry.RetryOperations
A simple stateful retry.
execute(RetryCallback<T>, RecoveryCallback<T>, RetryState) - Method in interface org.springframework.retry.RetryOperations
A stateful retry with a recovery path.
execute(RetryCallback<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 most recent exception thrown by the callback will be rethrown.
execute(RetryCallback<T>, 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>, 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>, 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.
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
 
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
 

F

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.
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
 

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.
getBackOffPeriod() - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
The backoff period in milliseconds.
getCompleteCount() - Method in interface org.springframework.retry.RetryStatistics
 
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.
getInitialInterval() - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
The initial period to sleep on the first backoff.
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.
getMaxAttempts() - Method in class org.springframework.retry.policy.SimpleRetryPolicy
The maximum number of retry attempts before failure.
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.
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.
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.
getRetryCount() - Method in class org.springframework.retry.context.RetryContextSupport
 
getRetryCount() - Method in interface org.springframework.retry.RetryContext
Counts the number of retry attempts.
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.
getTimeout() - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
The value of the timeout.

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

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.

L

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.
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 for 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.

N

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
 
NewMethodArgumentsIdentifier - Interface in org.springframework.retry.interceptor
Strategy interface to distinguish new arguments from ones that have been processed before, e.g.
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
Simple Sleeper implementation that just waits on a local Object.
ObjectWaitSleeper() - Constructor for class org.springframework.retry.backoff.ObjectWaitSleeper
 
onError(RetryContext, RetryCallback<T>, Throwable) - Method in class org.springframework.retry.listener.RetryListenerSupport
 
onError(RetryContext, RetryCallback<T>, Throwable) - Method in interface org.springframework.retry.RetryListener
Called after every unsuccessful attempt at a retry.
open(RetryContext, RetryCallback<T>) - Method in class org.springframework.retry.listener.RetryListenerSupport
 
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 chosing 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>) - 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.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.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(Object[], Throwable) - Method in interface org.springframework.retry.interceptor.MethodInvocationRecoverer
Recover gracefully from an error.
recover(RetryContext) - Method in interface org.springframework.retry.RecoveryCallback
 
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 org.springframework.repeat.RepeatOperations 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.
All RetryPolicy implementations should use this method when they register the throwable.
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
 
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> - Interface in org.springframework.retry
Callback interface for an operation that can be retried using a RetryOperations.
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
 
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 - 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 - Interface in org.springframework.retry
A RetryPolicy is responsible for allocating and managing resources needed by RetryOperations.
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.
RetrySynchronizationManager - Class in org.springframework.retry.support
Global variable support for retry clients.
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(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.
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.interceptor.StatefulRetryOperationsInterceptor
 
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
Setter for retry attempts.
setMaxInterval(long) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
Setter for maximum back off period.
setMultiplier(double) - Method in class org.springframework.retry.backoff.ExponentialBackOffPolicy
Set the multiplier value.
setNewItemIdentifier(NewMethodArgumentsIdentifier) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
Public setter for the NewMethodArgumentsIdentifier.
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<? extends Object>) - Method in class org.springframework.retry.interceptor.StatefulRetryOperationsInterceptor
Public setter for the MethodInvocationRecoverer to use if the retry is exhausted.
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.
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.backoff.ExponentialBackOffPolicy
Public setter for the Sleeper strategy.
setSleeper(Sleeper) - Method in class org.springframework.retry.backoff.FixedBackOffPolicy
Public setter for the Sleeper strategy.
setTimeout(long) - Method in class org.springframework.retry.policy.TimeoutRetryPolicy
Setter for timeout in milliseconds.
setTypeMap(Map<Class<? extends T>, C>) - Method in class org.springframework.classify.SubclassClassifier
Set the classifications up as a map.
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 - 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.
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.
sleep(long) - Method in class org.springframework.retry.backoff.ObjectWaitSleeper
 
sleep(long) - Method in interface org.springframework.retry.backoff.Sleeper
Pause for the specified period using whatever means available.
Sleeper - Interface in org.springframework.retry.backoff
Strategy interface for backoff policies to delegate the pausing of execution.
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.StatelessBackOffPolicy
Returns 'null'.
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
 
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
 
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
 
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.context.RetryContextSupport
 
toString() - Method in class org.springframework.retry.support.DefaultRetryState
 

A B C D E F G H I L M N O P R S T

Copyright © 2011 SpringSource. All Rights Reserved.