Interface BatchResult.Callback<T,​E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void error​(E exception)
      The method to be called when the batched operation fails.
      void success​(T result)
      The method to be called when the batched operation succeeds.
    • Method Detail

      • success

        void success​(T result)
        The method to be called when the batched operation succeeds.
      • error

        void error​(E exception)
        The method to be called when the batched operation fails.