|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RetryPolicy | |
---|---|
org.springframework.batch.core.step.item | Specific implementations of step concerns for item-oriented approach. |
org.springframework.batch.retry.policy | Infrastructure implementations of retry policy concerns. |
org.springframework.batch.retry.support | Infrastructure implementations of retry support concerns. |
Uses of RetryPolicy in org.springframework.batch.core.step.item |
---|
Methods in org.springframework.batch.core.step.item with parameters of type RetryPolicy | |
---|---|
void |
FaultTolerantStepFactoryBean.setRetryPolicy(RetryPolicy retryPolicy)
Setter for the retry policy. |
void |
BatchRetryTemplate.setRetryPolicy(RetryPolicy retryPolicy)
|
Constructors in org.springframework.batch.core.step.item with parameters of type RetryPolicy | |
---|---|
SimpleRetryExceptionHandler(RetryPolicy retryPolicy,
ExceptionHandler exceptionHandler,
Collection<Class<? extends Throwable>> fatalExceptionClasses)
Create an exception handler from its mandatory properties. |
Uses of RetryPolicy in org.springframework.batch.retry.policy |
---|
Classes in org.springframework.batch.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.batch.retry.policy with parameters of type RetryPolicy | |
---|---|
void |
CompositeRetryPolicy.setPolicies(RetryPolicy[] policies)
Setter for policies. |
Method parameters in org.springframework.batch.retry.policy with type arguments of type RetryPolicy | |
---|---|
void |
ExceptionClassifierRetryPolicy.setExceptionClassifier(Classifier<Throwable,RetryPolicy> exceptionClassifier)
Setter for an exception classifier. |
void |
ExceptionClassifierRetryPolicy.setPolicyMap(Map<Class<? extends Throwable>,RetryPolicy> policyMap)
Setter for policy map. |
Uses of RetryPolicy in org.springframework.batch.retry.support |
---|
Methods in org.springframework.batch.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,
Exception 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 . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |