public class SniffyAsynchronousChannelProvider extends AsynchronousChannelProvider
| Constructor and Description |
|---|
SniffyAsynchronousChannelProvider(AsynchronousChannelProvider delegate) |
| Modifier and Type | Method and Description |
|---|---|
static void |
install() |
AsynchronousChannelGroup |
openAsynchronousChannelGroup(ExecutorService executor,
int initialSize) |
AsynchronousChannelGroup |
openAsynchronousChannelGroup(int nThreads,
ThreadFactory threadFactory) |
AsynchronousServerSocketChannel |
openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) |
AsynchronousSocketChannel |
openAsynchronousSocketChannel(AsynchronousChannelGroup group) |
static void |
uninstall() |
providerpublic SniffyAsynchronousChannelProvider(AsynchronousChannelProvider delegate)
public static void install()
public static void uninstall()
public AsynchronousChannelGroup openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory) throws IOException
openAsynchronousChannelGroup in class AsynchronousChannelProviderIOExceptionpublic AsynchronousChannelGroup openAsynchronousChannelGroup(ExecutorService executor, int initialSize) throws IOException
openAsynchronousChannelGroup in class AsynchronousChannelProviderIOExceptionpublic AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) throws IOException
openAsynchronousServerSocketChannel in class AsynchronousChannelProviderIOExceptionpublic AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group) throws IOException
openAsynchronousSocketChannel in class AsynchronousChannelProviderIOExceptionCopyright © 2021. All rights reserved.