Spec-Zone .ru
спецификации, руководства, описания, API
Please note that the specifications and other information contained herein are not final and are subject to change. The information is being made available to you solely for purpose of evaluation.

Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Uses of Class
java.nio.channels.AsynchronousChannelGroup

Packages that use 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.channels package. 
 

Uses of AsynchronousChannelGroup in java.nio.channels
 

Methods in java.nio.channels that return AsynchronousChannelGroup
Modifier and Type Method and Description
static AsynchronousChannelGroup AsynchronousChannelGroup.withCachedThreadPool(ExecutorService executor, int initialSize)
          Creates an asynchronous channel group with a given thread pool that creates new threads as needed.
static AsynchronousChannelGroup AsynchronousChannelGroup.withFixedThreadPool(int nThreads, ThreadFactory threadFactory)
          Creates an asynchronous channel group with a fixed thread pool.
static AsynchronousChannelGroup AsynchronousChannelGroup.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 and Description
static AsynchronousSocketChannel AsynchronousSocketChannel.open(AsynchronousChannelGroup group)
          Opens an asynchronous socket channel.
static AsynchronousServerSocketChannel AsynchronousServerSocketChannel.open(AsynchronousChannelGroup group)
          Opens an asynchronous server-socket channel.
 

Uses of AsynchronousChannelGroup in java.nio.channels.spi
 

Methods in java.nio.channels.spi that return AsynchronousChannelGroup
Modifier and Type Method and Description
abstract  AsynchronousChannelGroup AsynchronousChannelProvider.openAsynchronousChannelGroup(ExecutorService executor, int initialSize)
          Constructs a new asynchronous channel group with the given thread pool.
abstract  AsynchronousChannelGroup AsynchronousChannelProvider.openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory)
          Constructs a new asynchronous channel group with a fixed thread pool.
 

Methods in java.nio.channels.spi with parameters of type AsynchronousChannelGroup
Modifier and Type Method and Description
abstract  AsynchronousServerSocketChannel AsynchronousChannelProvider.openAsynchronousServerSocketChannel(AsynchronousChannelGroup group)
          Opens an asynchronous server-socket channel.
abstract  AsynchronousSocketChannel AsynchronousChannelProvider.openAsynchronousSocketChannel(AsynchronousChannelGroup group)
          Opens an asynchronous socket channel.
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b118

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.