Interface Callback


  • public interface Callback
    • Method Detail

      • onCompletion

        void onCompletion​(@Nullable
                          MetadataWriteResponse response)
        Called when the client request has completed. Completion does not imply success. Inspect the response object to understand if this was a successfully processed request or not.
        Parameters:
        response -
      • onFailure

        void onFailure​(java.lang.Throwable exception)
        Called when the client request has thrown an exception before completion.
        Parameters:
        exception -