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