public final class EnhanceAsynchronousChannelProvider extends AsynchronousChannelProvider
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
READ_MONITOR_SIGNAL
读监听信号
|
static int |
READABLE_SIGNAL
可读信号
|
| 构造器和说明 |
|---|
EnhanceAsynchronousChannelProvider(boolean lowMemory) |
| 限定符和类型 | 方法和说明 |
|---|---|
AsynchronousChannelGroup |
openAsynchronousChannelGroup(ExecutorService executor,
int initialSize) |
AsynchronousChannelGroup |
openAsynchronousChannelGroup(int nThreads,
ThreadFactory threadFactory) |
AsynchronousServerSocketChannel |
openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) |
AsynchronousSocketChannel |
openAsynchronousSocketChannel(AsynchronousChannelGroup group) |
providerpublic static final int READ_MONITOR_SIGNAL
public static final int READABLE_SIGNAL
public EnhanceAsynchronousChannelProvider(boolean lowMemory)
public AsynchronousChannelGroup openAsynchronousChannelGroup(int nThreads, ThreadFactory threadFactory) throws IOException
public AsynchronousChannelGroup openAsynchronousChannelGroup(ExecutorService executor, int initialSize) throws IOException
public AsynchronousServerSocketChannel openAsynchronousServerSocketChannel(AsynchronousChannelGroup group) throws IOException
public AsynchronousSocketChannel openAsynchronousSocketChannel(AsynchronousChannelGroup group) throws IOException
Copyright © 2023. All rights reserved.