|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RetryContext
Low-level access to ongoing retry operation. Normally not needed by clients, but can be used to alter the course of the retry, e.g. force an early termination.
Method Summary | |
---|---|
Throwable |
getLastThrowable()
Accessor for the exception object that caused the current retry. |
RetryContext |
getParent()
Accessor for the parent context if retry blocks are nested. |
int |
getRetryCount()
Counts the number of retry attempts. |
boolean |
isExhaustedOnly()
Public accessor for the exhausted flag setExhaustedOnly() . |
void |
setExhaustedOnly()
Signal to the framework that no more attempts should be made to try or retry the current RetryCallback . |
Methods inherited from interface org.springframework.core.AttributeAccessor |
---|
attributeNames, getAttribute, hasAttribute, removeAttribute, setAttribute |
Method Detail |
---|
void setExhaustedOnly()
RetryCallback
.
boolean isExhaustedOnly()
setExhaustedOnly()
.
RetryContext getParent()
int getRetryCount()
Throwable getLastThrowable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |