Java java.nio.channels AsynchronousChannelGroup fields, constructors, methods, implement or subclass

Example usage for Java java.nio.channels AsynchronousChannelGroup fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.channels AsynchronousChannelGroup.

The text is from its open source code.

Method

booleanawaitTermination(long timeout, TimeUnit unit)
Awaits termination of the group.
voidshutdown()
Initiates an orderly shutdown of the group.
voidshutdownNow()
Shuts down the group and closes all open channels in the group.
AsynchronousChannelGroupwithFixedThreadPool(int nThreads, ThreadFactory threadFactory)
Creates an asynchronous channel group with a fixed thread pool.
AsynchronousChannelGroupwithThreadPool(ExecutorService executor)
Creates an asynchronous channel group with a given thread pool.