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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 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 Modifier and Type 方法 描述 abstract AsynchronousServerSocketChannel
AsynchronousChannelProvider. openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)
打开异步服务器套接字通道。abstract AsynchronousSocketChannel
AsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)
打开异步套接字通道。
-