Uses of Class
java.nio.channels.AsynchronousChannelGroup
-
Packages that use AsynchronousChannelGroup 软件包 描述 java.nio.channels 定义通道,表示与能够执行I / O操作的实体的连接,例如文件和套接字; 定义选择器,用于多路复用,非阻塞I / O操作。java.nio.channels.spi java.nio.channels
程序包的服务提供程序类。 -
-
Uses of AsynchronousChannelGroup in java.nio.channels
Methods in java.nio.channels that return AsynchronousChannelGroup 变量和类型 方法 描述 static AsynchronousChannelGroup
AsynchronousChannelGroup. withCachedThreadPool(ExecutorService executor, int initialSize)
创建具有给定线程池的异步通道组,该线程池根据需要创建新线程。static AsynchronousChannelGroup
AsynchronousChannelGroup. withFixedThreadPool(int nThreads, ThreadFactory threadFactory)
创建具有固定线程池的异步通道组。static AsynchronousChannelGroup
AsynchronousChannelGroup. withThreadPool(ExecutorService executor)
创建具有给定线程池的异步通道组。Methods in java.nio.channels with parameters of type AsynchronousChannelGroup 变量和类型 方法 描述 static AsynchronousServerSocketChannel
AsynchronousServerSocketChannel. open(AsynchronousChannelGroup group)
打开异步服务器套接字通道。static AsynchronousSocketChannel
AsynchronousSocketChannel. open(AsynchronousChannelGroup group)
打开异步套接字通道。 -
Uses of AsynchronousChannelGroup in java.nio.channels.spi
Methods in java.nio.channels.spi that return AsynchronousChannelGroup 变量和类型 方法 描述 abstract AsynchronousChannelGroup
AsynchronousChannelProvider. openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory)
构造具有固定线程池的新异步通道组。abstract AsynchronousChannelGroup
AsynchronousChannelProvider. openAsynchronousChannelGroup(ExecutorService executor, int initialSize)
使用给定的线程池构造一个新的异步通道组。Methods in java.nio.channels.spi with parameters of type AsynchronousChannelGroup 变量和类型 方法 描述 abstract AsynchronousServerSocketChannel
AsynchronousChannelProvider. openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)
打开异步服务器套接字通道。abstract AsynchronousSocketChannel
AsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)
打开异步套接字通道。
-