Interface ExecutionCallback<V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onFailure​(java.lang.Throwable t)
      Called when an execution is completed with an error.
      void onResponse​(V response)
      Called when an execution is completed successfully.
    • Method Detail

      • onResponse

        void onResponse​(V response)
        Called when an execution is completed successfully.
        Parameters:
        response - the result of the successful execution
      • onFailure

        void onFailure​(java.lang.Throwable t)
        Called when an execution is completed with an error.
        Parameters:
        t - the exception that is thrown