public interface RetryState
RetryOperations
for optimisations to do with avoidable cache hits and
switching to stateless retry if a rollback is not needed.Modifier and Type | Method and Description |
---|---|
Object |
getKey()
Key representing the state for a retry attempt.
|
boolean |
isForceRefresh()
Indicate whether a cache lookup can be avoided.
|
boolean |
rollbackFor(Throwable exception)
Check whether this exception requires a rollback.
|
Object getKey()
boolean isForceRefresh()
boolean rollbackFor(Throwable exception)
exception
- the exception that caused a retry attempt to failCopyright © 2018 SpringSource. All rights reserved.