Interface Retryable<R>
- 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:
-
Method Summary
-
Method Details
-
call
Perform the operation and return the data from the response.- Returns:
- Return response data, formatted in the given data type
- Throws:
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
-