Class BlockingWriteCallback.WriteBlocker

    • Method Detail

      • writeFailed

        public void writeFailed​(java.lang.Throwable x)
        Description copied from interface: WriteCallback

        Callback invoked when the write fails.

        Specified by:
        writeFailed in interface WriteCallback
        Parameters:
        x - the reason for the write failure
      • failed

        public void failed​(java.lang.Throwable x)
        Description copied from interface: Callback

        Callback invoked when the operation fails.

        Specified by:
        failed in interface Callback
        Parameters:
        x - the reason for the operation failure
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
      • block

        public void block()
                   throws java.io.IOException
        Throws:
        java.io.IOException