Interface WritableBufferedByteChannel

All Superinterfaces:
AutoCloseable, Channel, Closeable, WritableByteChannel

public interface WritableBufferedByteChannel extends WritableByteChannel
Extends WritableByteChannel with buffered (i.e. non-flushable) write operations, see writeBuffered(ByteBuffer). The messages are buffered and the channel is flushed after the buffer has overflew.
The method WritableByteChannel.write(ByteBuffer) flushes every written message. You can flush the channel by writing the zero length of ByteBuffer.