|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RetryState | |
---|---|
org.springframework.batch.core.step.item | Specific implementations of step concerns for item-oriented approach. |
org.springframework.batch.retry | Infrastructure implementations of retry concerns. |
org.springframework.batch.retry.support | Infrastructure implementations of retry support concerns. |
Uses of RetryState in org.springframework.batch.core.step.item |
---|
Methods in org.springframework.batch.core.step.item that return types with arguments of type RetryState | |
---|---|
static List<RetryState> |
BatchRetryTemplate.createState(List<?> keys)
|
static List<RetryState> |
BatchRetryTemplate.createState(List<?> keys,
Classifier<? super Throwable,Boolean> classifier)
|
Methods in org.springframework.batch.core.step.item with parameters of type RetryState | ||
---|---|---|
|
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState)
|
|
|
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RetryState retryState)
|
Method parameters in org.springframework.batch.core.step.item with type arguments of type RetryState | ||
---|---|---|
|
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
Collection<RetryState> states)
|
|
|
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
Collection<RetryState> states)
|
Uses of RetryState in org.springframework.batch.retry |
---|
Methods in org.springframework.batch.retry with parameters of type RetryState | ||
---|---|---|
|
RetryOperations.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState)
A stateful retry with a recovery path. |
|
|
RetryOperations.execute(RetryCallback<T> retryCallback,
RetryState retryState)
A simple stateful retry. |
Uses of RetryState in org.springframework.batch.retry.support |
---|
Classes in org.springframework.batch.retry.support that implement RetryState | |
---|---|
class |
DefaultRetryState
|
Methods in org.springframework.batch.retry.support with parameters of type RetryState | ||
---|---|---|
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
|
RetryTemplate.doExecute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState state)
Execute the callback once if the policy dictates that we can, otherwise execute the recovery callback. |
|
|
RetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState)
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. |
|
|
RetryTemplate.execute(RetryCallback<T> retryCallback,
RetryState retryState)
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. |
|
protected
|
RetryTemplate.handleRetryExhausted(RecoveryCallback<T> recoveryCallback,
RetryContext context,
RetryState state)
Actions to take after final attempt has failed. |
|
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,
Throwable e)
|
|
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 |