Package | Description |
---|---|
org.springframework.retry |
Infrastructure implementations of retry concerns.
|
org.springframework.retry.listener |
Infrastructure implementations of retry interceptor concerns.
|
org.springframework.retry.support |
Infrastructure implementations of retry support concerns.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
RetryListener.close(RetryContext context,
RetryCallback<T,E> callback,
Throwable throwable)
Called after the final attempt (successful or not).
|
<T,E extends Throwable> |
RetryOperations.execute(RetryCallback<T,E> retryCallback)
Execute the supplied
RetryCallback with the configured retry
semantics. |
<T,E extends Throwable> |
RetryOperations.execute(RetryCallback<T,E> retryCallback,
RecoveryCallback<T> recoveryCallback)
Execute the supplied
RetryCallback with a fallback on exhausted
retry to the RecoveryCallback . |
<T,E extends Throwable> |
RetryOperations.execute(RetryCallback<T,E> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState retryState)
A stateful retry with a recovery path.
|
<T,E extends Throwable> |
RetryOperations.execute(RetryCallback<T,E> retryCallback,
RetryState retryState)
A simple stateful retry.
|
<T,E extends Throwable> |
RetryListener.onError(RetryContext context,
RetryCallback<T,E> callback,
Throwable throwable)
Called after every unsuccessful attempt at a retry.
|
<T,E extends Throwable> |
RetryListener.open(RetryContext context,
RetryCallback<T,E> callback)
Called before the first attempt in a retry.
|
Modifier and Type | Method and Description |
---|---|
<T,E extends Throwable> |
RetryListenerSupport.close(RetryContext context,
RetryCallback<T,E> callback,
Throwable throwable) |
<T,E extends Throwable> |
RetryListenerSupport.onError(RetryContext context,
RetryCallback<T,E> callback,
Throwable throwable) |
<T,E extends Throwable> |
RetryListenerSupport.open(RetryContext context,
RetryCallback<T,E> callback) |
Modifier and Type | Method and Description |
---|---|
protected <T,E extends Throwable> |
RetryTemplate.doExecute(RetryCallback<T,E> retryCallback,
RecoveryCallback<T> recoveryCallback,
RetryState state)
Execute the callback once if the policy dictates that we can, otherwise execute the
recovery callback.
|
<T,E extends Throwable> |
RetryTemplate.execute(RetryCallback<T,E> 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,E extends Throwable> |
RetryTemplate.execute(RetryCallback<T,E> 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,E extends Throwable> |
RetryTemplate.execute(RetryCallback<T,E> 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,E extends Throwable> |
RetryTemplate.execute(RetryCallback<T,E> 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 © 2014 SpringSource. All rights reserved.