- Type Parameters:
R- Result type
public interface Retryable<R>
Simple interface to abstract out the call that is made so that it can be retried.
- See Also:
callR call() throws ExecutionException, UnretryableExceptionPerform the operation and return the data from the response.
- Return response data, formatted in the given data type
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