Uses of Class
java.nio.channels.ClosedChannelException
| Package | Description |
|---|---|
| java.nio.channels | |
| java.nio.channels.spi |
-
Uses of ClosedChannelException in java.nio.channels
Subclasses of ClosedChannelException in java.nio.channels Modifier and Type Class Description classAsynchronousCloseExceptionAnAsynchronousCloseExceptionis thrown when the underlying channel for an I/O operation is closed by another thread.classClosedByInterruptExceptionAClosedByInterruptExceptionis thrown when a thread is interrupted in a blocking I/O operation.Methods in java.nio.channels that throw ClosedChannelException Modifier and Type Method Description SelectionKeySelectableChannel. register(Selector selector, int operations)Registers this channel with the specified selector for the specified interest set.abstract SelectionKeySelectableChannel. register(Selector sel, int ops, Object att)Registers this channel with the specified selector for the specified interest set and an object to attach. -
Uses of ClosedChannelException in java.nio.channels.spi
Methods in java.nio.channels.spi that throw ClosedChannelException Modifier and Type Method Description SelectionKeyAbstractSelectableChannel. register(Selector selector, int interestSet, Object attachment)Registers this channel with the specified selector for the specified interest set.