public class ProxyThreadPools extends Object
| Constructor and Description |
|---|
ProxyThreadPools(SelectorProvider selectorProvider,
int incomingAcceptorThreads,
int incomingWorkerThreads,
int outgoingWorkerThreads,
String serverGroupName,
int serverGroupId) |
| Modifier and Type | Method and Description |
|---|---|
List<io.netty.channel.EventLoopGroup> |
getAllEventLoops()
Returns all event loops (acceptor and worker thread pools) in this pool.
|
io.netty.channel.nio.NioEventLoopGroup |
getClientToProxyAcceptorPool() |
io.netty.channel.nio.NioEventLoopGroup |
getClientToProxyWorkerPool() |
io.netty.channel.nio.NioEventLoopGroup |
getProxyToServerWorkerPool() |
public ProxyThreadPools(SelectorProvider selectorProvider, int incomingAcceptorThreads, int incomingWorkerThreads, int outgoingWorkerThreads, String serverGroupName, int serverGroupId)
public List<io.netty.channel.EventLoopGroup> getAllEventLoops()
public io.netty.channel.nio.NioEventLoopGroup getClientToProxyAcceptorPool()
public io.netty.channel.nio.NioEventLoopGroup getClientToProxyWorkerPool()
public io.netty.channel.nio.NioEventLoopGroup getProxyToServerWorkerPool()
Copyright © 2009–2016 LittleShoot. All rights reserved.