Class BlockingWriteCallback.WriteBlocker

    • Method Detail

      • writeFailed

        public void writeFailed​(java.lang.Throwable x)
        Deprecated.
        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)
        Deprecated.
        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()
        Deprecated.
        Specified by:
        close in interface java.lang.AutoCloseable
      • block

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