public class ProxyThreadPools extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private io.netty.channel.EventLoopGroup |
clientToProxyAcceptorPool |
private io.netty.channel.EventLoopGroup |
clientToProxyWorkerPool |
private io.netty.channel.EventLoopGroup |
proxyToServerWorkerPool |
| 构造器和说明 |
|---|
ProxyThreadPools(SelectorProvider selectorProvider,
int incomingAcceptorThreads,
int incomingWorkerThreads,
int incomingWorkerIoRatio,
int outgoingWorkerThreads,
int outgoingWorkerIoRatio,
String serverGroupName,
int serverGroupId) |
ProxyThreadPools(SelectorProvider selectorProvider,
int incomingAcceptorThreads,
int incomingWorkerThreads,
int outgoingWorkerThreads,
String serverGroupName,
int serverGroupId)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<io.netty.channel.EventLoopGroup> |
getAllEventLoops()
Returns all event loops (acceptor and worker thread pools) in this pool.
|
io.netty.channel.EventLoopGroup |
getClientToProxyAcceptorPool() |
io.netty.channel.EventLoopGroup |
getClientToProxyWorkerPool() |
io.netty.channel.EventLoopGroup |
getProxyToServerWorkerPool() |
private final io.netty.channel.EventLoopGroup clientToProxyAcceptorPool
private final io.netty.channel.EventLoopGroup clientToProxyWorkerPool
private final io.netty.channel.EventLoopGroup proxyToServerWorkerPool
@Deprecated public ProxyThreadPools(SelectorProvider selectorProvider, int incomingAcceptorThreads, int incomingWorkerThreads, int outgoingWorkerThreads, String serverGroupName, int serverGroupId)
public ProxyThreadPools(SelectorProvider selectorProvider, int incomingAcceptorThreads, int incomingWorkerThreads, int incomingWorkerIoRatio, int outgoingWorkerThreads, int outgoingWorkerIoRatio, String serverGroupName, int serverGroupId)
public List<io.netty.channel.EventLoopGroup> getAllEventLoops()
public io.netty.channel.EventLoopGroup getClientToProxyAcceptorPool()
public io.netty.channel.EventLoopGroup getClientToProxyWorkerPool()
public io.netty.channel.EventLoopGroup getProxyToServerWorkerPool()
Copyright © 2023 Zodiac. All rights reserved.