Package | Description |
---|---|
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.listener |
Infrastructure implementations of retry interceptor concerns.
|
org.springframework.batch.retry.support |
Infrastructure implementations of retry support concerns.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
SimpleRetryExceptionHandler.close(RetryContext context,
RetryCallback<T> callback,
Throwable throwable)
If retry is exhausted set up some state in the context that can be used
to signal that the exception should be handled.
|
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback) |
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
Collection<RetryState> states) |
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback) |
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
Collection<RetryState> states) |
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState) |
<T> T |
BatchRetryTemplate.execute(RetryCallback<T> retryCallback,
RetryState retryState) |
Modifier and Type | Method and Description |
---|---|
<T> void |
RetryListener.close(RetryContext context,
RetryCallback<T> callback,
Throwable throwable)
Called after the final attempt (successful or not).
|
<T> T |
RetryOperations.execute(RetryCallback<T> retryCallback)
Execute the supplied
RetryCallback with the configured retry
semantics. |
<T> T |
RetryOperations.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback)
Execute the supplied
RetryCallback with a fallback on exhausted
retry to the RecoveryCallback . |
<T> T |
RetryOperations.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState)
A stateful retry with a recovery path.
|
<T> T |
RetryOperations.execute(RetryCallback<T> retryCallback,
RetryState retryState)
A simple stateful retry.
|
<T> void |
RetryListener.onError(RetryContext context,
RetryCallback<T> callback,
Throwable throwable)
Called after every unsuccessful attempt at a retry.
|
<T> boolean |
RetryListener.open(RetryContext context,
RetryCallback<T> callback)
Called before the first attempt in a retry.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
RetryListenerSupport.close(RetryContext context,
RetryCallback<T> callback,
Throwable throwable) |
<T> void |
RetryListenerSupport.onError(RetryContext context,
RetryCallback<T> callback,
Throwable throwable) |
<T> boolean |
RetryListenerSupport.open(RetryContext context,
RetryCallback<T> callback) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
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.
|
<T> T |
RetryTemplate.execute(RetryCallback<T> retryCallback)
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.
|
<T> T |
RetryTemplate.execute(RetryCallback<T> retryCallback,
RecoveryCallback<T> recoveryCallback)
Keep executing the callback until it either succeeds or the policy
dictates that we stop, in which case the recovery callback will be
executed.
|
<T> T |
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.
|
<T> T |
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.
|
Copyright © 2013 SpringSource. All rights reserved.