Interface StreamingDataOutputPlus.Write

    • Method Detail

      • write

        void write​(StreamingDataOutputPlus.BufferSupplier supplier)
            throws java.io.IOException
        Write to a buffer, and flush its contents to the channel.

        The lifetime of the buffer will be managed by the AsyncChannelOutputPlus you issue this Write to. If the method exits successfully, the contents of the buffer will be written to the channel, otherwise the buffer will be cleaned and the exception propagated to the caller.

        Throws:
        java.io.IOException