R - Result typepublic interface Retryable<R>
Retry,
UnretryableException| Modifier and Type | Method and Description |
|---|---|
R |
call()
Perform the operation and return the data from the response.
|
R call() throws ExecutionException, UnretryableException
ExecutionException - Thrown on errors connecting, writing, reading, timeouts, etc.
that can likely be tried againUnretryableException - Thrown on errors that we can determine should not be tried again