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

    Modifier and Type
    Method
    Description
    Perform the operation and return the data from the response.
  • 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 again
      UnretryableException - Thrown on errors that we can determine should not be tried again