public interface RetryContext
extends org.springframework.core.AttributeAccessor
Modifier and Type | Method and Description |
---|---|
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 . |
void setExhaustedOnly()
RetryCallback
.boolean isExhaustedOnly()
setExhaustedOnly()
.RetryContext getParent()
int getRetryCount()
Throwable getLastThrowable()
Copyright © 2014 SpringSource. All rights reserved.