Uses of Interface
org.springframework.retry.RetryPolicy

Packages that use RetryPolicy
org.springframework.retry.policy Infrastructure implementations of retry policy concerns. 
org.springframework.retry.support Infrastructure implementations of retry support concerns. 
 

Uses of RetryPolicy in org.springframework.retry.policy
 

Classes in org.springframework.retry.policy that implement RetryPolicy
 class AlwaysRetryPolicy
          A RetryPolicy that always permits a retry.
 class CompositeRetryPolicy
          A RetryPolicy that composes a list of other policies and delegates calls to them in order.
 class ExceptionClassifierRetryPolicy
          A RetryPolicy that dynamically adapts to one of a set of injected policies according to the value of the latest exception.
 class NeverRetryPolicy
          A RetryPolicy that allows the first attempt but never permits a retry.
 class SimpleRetryPolicy
          Simple retry policy that retries a fixed number of times for a set of named exceptions (and subclasses).
 class TimeoutRetryPolicy
          A RetryPolicy that allows a retry only if it hasn't timed out.
 

Methods in org.springframework.retry.policy with parameters of type RetryPolicy
 void CompositeRetryPolicy.setPolicies(RetryPolicy[] policies)
          Setter for policies.
 

Method parameters in org.springframework.retry.policy with type arguments of type RetryPolicy
 void ExceptionClassifierRetryPolicy.setExceptionClassifier(Classifier<java.lang.Throwable,RetryPolicy> exceptionClassifier)
          Setter for an exception classifier.
 void ExceptionClassifierRetryPolicy.setPolicyMap(java.util.Map<java.lang.Class<? extends java.lang.Throwable>,RetryPolicy> policyMap)
          Setter for policy map used to create a classifier.
 

Uses of RetryPolicy in org.springframework.retry.support
 

Methods in org.springframework.retry.support with parameters of type RetryPolicy
protected  boolean RetryTemplate.canRetry(RetryPolicy retryPolicy, RetryContext context)
          Decide whether to proceed with the ongoing retry attempt.
protected  void RetryTemplate.close(RetryPolicy retryPolicy, RetryContext context, RetryState state, boolean succeeded)
          Clean up the cache if necessary and close the context provided (if the flag indicates that processing was successful).
protected  RetryContext RetryTemplate.open(RetryPolicy retryPolicy, RetryState state)
          Delegate to the RetryPolicy having checked in the cache for an existing value if the state is not null.
protected  void RetryTemplate.registerThrowable(RetryPolicy retryPolicy, RetryState state, RetryContext context, java.lang.Throwable e)
           
 void RetryTemplate.setRetryPolicy(RetryPolicy retryPolicy)
          Setter for RetryPolicy.
protected  boolean RetryTemplate.shouldRethrow(RetryPolicy retryPolicy, RetryContext context, RetryState state)
          Extension point for subclasses to decide on behaviour after catching an exception in a RetryCallback.
 



Copyright © 2011 SpringSource. All Rights Reserved.