Class WriteCollector.WriteRequest<T>

    • Method Detail

      • getValue

        public T getValue()
        The value to be written.
        Returns:
        the value to be written, can be null
      • writeSuccessful

        public void writeSuccessful()
        Notify that the write was successfully completed.
      • writeFailed

        public void writeFailed​(Exception writeError)
        Notify that the write was not completed or that it completed with an error.

        Note that the exception is propagated to the user layer of the gpclient, therefore the error message should be meaningful.

        Parameters:
        writeError - the error associated with the response