Interface RpcBatch.Callback<T>

  • Enclosing interface:
    RpcBatch

    public static interface RpcBatch.Callback<T>
    An interface for batch callbacks.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onFailure​(com.google.api.client.googleapis.json.GoogleJsonError googleJsonError)
      This method will be called upon failure of the batch operation.
      void onSuccess​(T response)
      This method will be called upon success of the batch operation.
    • Method Detail

      • onSuccess

        void onSuccess​(T response)
        This method will be called upon success of the batch operation.
      • onFailure

        void onFailure​(com.google.api.client.googleapis.json.GoogleJsonError googleJsonError)
        This method will be called upon failure of the batch operation.