private static class NeverRetryPolicy.NeverRetryContext extends RetryContextSupport
NeverRetryPolicy. Implements a flag
with a similar function to RetryContext.isExhaustedOnly(), but
kept separate so that if subclasses of NeverRetryPolicy need to
they can modify the behaviour of
NeverRetryPolicy.canRetry(RetryContext) without affecting
RetryContext.isExhaustedOnly().| Modifier and Type | Field and Description |
|---|---|
private boolean |
finished |
| Constructor and Description |
|---|
NeverRetryContext(RetryContext parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinished() |
void |
setFinished() |
getLastThrowable, getParent, getRetryCount, isExhaustedOnly, registerThrowable, setExhaustedOnly, toStringattributeNames, copyAttributesFrom, equals, getAttribute, hasAttribute, hashCode, removeAttribute, setAttributepublic NeverRetryContext(RetryContext parent)