public interface Retryable<T>
| Modifier and Type | Method and Description |
|---|---|
T |
attempt(int attempt) |
boolean |
shouldRetry(int attempt,
Throwable e)
Decides whether a retry should be attempted after the provided exception occurs
|
boolean shouldRetry(int attempt,
Throwable e)
attempt - the attempt numbere - the thrown exceptionCopyright © 2015. All rights reserved.