protected class BaseRetryingStrategy.Unmodifiable extends java.lang.Object implements RetryingStrategy<T>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseRetryingStrategy.Unmodifiable() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeTry(RetryingStatus status) |
boolean |
isRetryRequiredForException(java.lang.Throwable e,
RetryingStatus status) |
boolean |
isRetryRequiredForResult(T result,
RetryingStatus status) |
public void beforeTry(@Nonnull
RetryingStatus status)
beforeTry in interface RetryingStrategy<T>public boolean isRetryRequiredForResult(@Nonnull
T result,
@Nonnull
RetryingStatus status)
isRetryRequiredForResult in interface RetryingStrategy<T>public boolean isRetryRequiredForException(@Nonnull
java.lang.Throwable e,
@Nonnull
RetryingStatus status)
isRetryRequiredForException in interface RetryingStrategy<T>Copyright © 2013 echocat. All Rights Reserved.