Uses of Class
java.nio.channels.AsynchronousChannelGroup
| Package | Description | 
|---|---|
| java.nio.channels | Defines channels, which represent connections to entities that are capable of
 performing I/O operations, such as files and sockets; defines selectors, for
 multiplexed, non-blocking I/O operations. | 
| java.nio.channels.spi | Service-provider classes for the  java.nio.channelspackage. | 
- 
Uses of AsynchronousChannelGroup in java.nio.channelsMethods in java.nio.channels that return AsynchronousChannelGroup Modifier and Type Method Description static AsynchronousChannelGroupAsynchronousChannelGroup. withCachedThreadPool(ExecutorService executor, int initialSize)Creates an asynchronous channel group with a given thread pool that creates new threads as needed.static AsynchronousChannelGroupAsynchronousChannelGroup. withFixedThreadPool(int nThreads, ThreadFactory threadFactory)Creates an asynchronous channel group with a fixed thread pool.static AsynchronousChannelGroupAsynchronousChannelGroup. withThreadPool(ExecutorService executor)Creates an asynchronous channel group with a given thread pool.Methods in java.nio.channels with parameters of type AsynchronousChannelGroup Modifier and Type Method Description static AsynchronousServerSocketChannelAsynchronousServerSocketChannel. open(AsynchronousChannelGroup group)Opens an asynchronous server-socket channel.static AsynchronousSocketChannelAsynchronousSocketChannel. open(AsynchronousChannelGroup group)Opens an asynchronous socket channel.
- 
Uses of AsynchronousChannelGroup in java.nio.channels.spiMethods in java.nio.channels.spi that return AsynchronousChannelGroup Modifier and Type Method Description abstract AsynchronousChannelGroupAsynchronousChannelProvider. openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory)Constructs a new asynchronous channel group with a fixed thread pool.abstract AsynchronousChannelGroupAsynchronousChannelProvider. openAsynchronousChannelGroup(ExecutorService executor, int initialSize)Constructs a new asynchronous channel group with the given thread pool.Methods in java.nio.channels.spi with parameters of type AsynchronousChannelGroup Modifier and Type Method Description abstract AsynchronousServerSocketChannelAsynchronousChannelProvider. openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)Opens an asynchronous server-socket channel.abstract AsynchronousSocketChannelAsynchronousChannelProvider. openAsynchronousSocketChannel(AsynchronousChannelGroup group)Opens an asynchronous socket channel.