Uses of Class
java.nio.channels.ClosedChannelException
-
Packages that use ClosedChannelException 软件包 描述 java.nio.channels 定义通道,其表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.channels.spi java.nio.channels包的服务提供者类。 -
-
Uses of ClosedChannelException in java.nio.channels
Subclasses of ClosedChannelException in java.nio.channels Modifier and Type Class 描述 classAsynchronousCloseException当线程在I / O操作中关闭通道或阻塞其通道的部分时,由线程检查异常。classClosedByInterruptException另一个线程在通道上的I / O操作中被阻塞时,由线程接收到的异常检查。Methods in java.nio.channels that throw ClosedChannelException Modifier and Type 方法 描述 SelectionKeySelectableChannel. register(Selector sel, int ops)使用给定的选择器注册此频道,返回一个选择键。abstract SelectionKeySelectableChannel. register(Selector sel, int ops, Object att)使用给定的选择器注册此频道,返回一个选择键。 -
Uses of ClosedChannelException in java.nio.channels.spi
Methods in java.nio.channels.spi that throw ClosedChannelException Modifier and Type 方法 描述 SelectionKeyAbstractSelectableChannel. register(Selector sel, int ops, Object att)Registers this channel with the given selector, returning a selection key.
-