R- Result type
public interface Retryable<R>
|Modifier and Type||Method and Description|
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 again
UnretryableException- Thrown on errors that we can determine should not be tried again