java.nio.channels |
|
Java Source File Name | Type | Comment |
AlreadyConnectedException.java | Class | Thrown when an attempt is made to connect a SocketChannel that is already
connected. |
AsynchronousCloseException.java | Class | Thrown when the underlying channel for an IO operation is closed by another
thread. |
ByteChannel.java | Interface | A ByteChannel is both readable and writable. |
CancelledKeyException.java | Class | Thrown when an invalid selection key is used. |
Channel.java | Interface | A channel is a conduit to IO services covering such items as files, sockets,
hardware devices, IO ports, or some software component.
Channels are open upon creation, and can be explicitly closed. |
Channels.java | Class | This class provides several utilities to get I/O streams from channels. |
ClosedByInterruptException.java | Class | Thrown when a thread is interrupted in a blocking IO operation. |
ClosedChannelException.java | Class | This exception is thrown when a channel is closed for the type of operation
attempted. |
ClosedSelectorException.java | Class | Thrown when an a selector is closed and an IO operation is attempted. |
ConnectionPendingException.java | Class | Thrown when an attempt is made to connect a SocketChannel that has a
non-blocking connection already underway. |
DatagramChannel.java | Class | A DatagramChannel is a selectable channel for part abstraction of datagram
socket. |
FileChannel.java | Class | An abstract channel type for interaction with a platform file.
A FileChannel defines the methods for reading, writing, memory mapping, and
manipulating the logical state of a platform file. |
FileLock.java | Class | A FileLock represents a locked region of a file.
Locks have certain properties that enable collaborating processes to avoid
the lost update problem, or reading inconsistent data.
logically, a file lock can be 'exclusive' or 'shared'. |
FileLockInterruptionException.java | Class | Thrown when thread was interrupted while waiting to acquire a file lock. |
GatheringByteChannel.java | Interface | The interface to channels that can write a set of buffers in a single
operation. |
IllegalBlockingModeException.java | Class | Thrown when when operation that requires a specific blocking mode is invoked
on a channel that is in a different blocking mode. |
IllegalSelectorException.java | Class | Thrown when a call is made to register a channel on a selector that has been
created by a different provider. |
InterruptibleChannel.java | Interface | Channels that implement this interface are both asynchronously closable and
interruptible.
A channel that is asynchronously closable permits a thread blocked on an IO
operation (the IO thread) to be released by another thread calling the
channel's close() method. |
NoConnectionPendingException.java | Class | Thrown if SocketChannel's finishConnect method is called before the
SocketChannel's connect method completed without error. |
NonReadableChannelException.java | Class | Thrown when attempting to read from a channel that is not open for reading. |
NonWritableChannelException.java | Class | Thrown when attempting to write to a channel that is not open for writing. |
NotYetBoundException.java | Class | Thrown if the server socket channel is not bound before an IO operation is
made. |
NotYetConnectedException.java | Class | Thrown if the socket channel is not connected before an IO operation is
invoked. |
OverlappingFileLockException.java | Class | Thrown when attempting to acquire a lock that overlaps an existing or pending
lock held by this process. |
Pipe.java | Class | A pipe contains two channels. |
ReadableByteChannel.java | Interface | A ReadableByteChannel is a type of Channel that can read bytes.
Reads are synchronous on a ReadableByteChannel, that is, if a read is already
in progress on the channel then subsequent reads will block until the first
read completes. |
ScatteringByteChannel.java | Interface | The interface to channels that can read a set of buffers in a single
operation. |
SelectableChannel.java | Class | A channel that can be detected by a selector. |
SelectionKey.java | Class | A key that representing the relationship of a channel and the selector. |
Selector.java | Class | A controller for selection of SelectableChannel objects.
Selectable channels can be registered with a selector, and get SelectionKey
as a linkage. |
ServerSocketChannel.java | Class | A ServerSocketChannel is a partly abstracted stream-oriented listening socket
which is selectable. |
SocketChannel.java | Class | A SocketChannel is a selectable channel for part abstraction of stream
connecting socket. |
UnresolvedAddressException.java | Class | Thrown when trying to use an unresolved network address in a network
operation. |
UnsupportedAddressTypeException.java | Class | Thrown when connecting or binding to an unsupported address type. |
WritableByteChannel.java | Interface | A WritableByteChannel is a type of Channel that can write bytes.
Writes are synchronous on a WritableByteChannel, that is, if a write is
already in progress on the channel then subsequent writes will block until
the first write completes. |