public class BrpcIoThreadPoolInstance extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static io.netty.channel.epoll.EpollEventLoopGroup |
getEpollInstance() |
static io.netty.channel.nio.NioEventLoopGroup |
getNioInstance() |
static io.netty.channel.EventLoopGroup |
getOrCreateEpollInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
static io.netty.channel.EventLoopGroup |
getOrCreateNioInstance(int threadNum)
threadNum only works when thread pool instance create in the first time
|
public static io.netty.channel.EventLoopGroup getOrCreateEpollInstance(int threadNum)
public static io.netty.channel.EventLoopGroup getOrCreateNioInstance(int threadNum)
public static io.netty.channel.nio.NioEventLoopGroup getNioInstance()
public static io.netty.channel.epoll.EpollEventLoopGroup getEpollInstance()
Copyright © 2019 Baidu, Inc.. All rights reserved.