A byte channel that reads and writes asynchronously.
A byte channel that reads and writes asynchronously.
The read and write operations will never block the calling thread.
All channels that support blocking operation.
All channels that support blocking operation. (All channels that are not asynchronous)
A java.nio.channels.DatagramChannel wrapper allowing for basic zio.ZIO interoperability.
A channel for reading, writing, mapping, and manipulating a file.
A channel for reading, writing, mapping, and manipulating a file.
Unlike network channels, file channels are seekable with a current position that can be changed. The inherited read and write methods that do not take a position operate at the current position and update the position based on the number of bytes actually read or written.
A token representing a lock on a region of a file.
A token representing a lock on a region of a file. A file-lock object is created each time a lock is acquired on a
file via one of the lock
or tryLock
methods of the FileChannel
class, or the lock
or tryLock
methods of the
AsynchronousFileChannel
class.
A channel that can write bytes from a sequence of buffers.
A channel that can read bytes into a sequence of buffers.
A channel that can be multiplexed via a zio.nio.channels.Selector.
A multiplexor of SelectableChannel
objects.
A multiplexor of SelectableChannel
objects.
Please thoroughly read the documentation for the underlying Java API before attempting to use this.