You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public void start() {
if (this.defaultEventExecutorGroup == null) {
this.defaultEventExecutorGroup = new DefaultEventExecutorGroup(nettyClientConfig.getClientWorkerThreads(),
new NamedThreadFactory(getThreadPrefix(nettyClientConfig.getClientWorkerThreadPrefix()),
nettyClientConfig.getClientWorkerThreads()));
}
// ......
}
defaultEventExecutorGroup is enabled in the startup method of NettyClientBootstrap.
public void start() {
if (this.defaultEventExecutorGroup == null) {
this.defaultEventExecutorGroup = new DefaultEventExecutorGroup(nettyClientConfig.getClientWorkerThreads(),
new NamedThreadFactory(getThreadPrefix(nettyClientConfig.getClientWorkerThreadPrefix()),
nettyClientConfig.getClientWorkerThreads()));
}
// ......
}
According to its naming NettyClientWorkerThread, it is a Worker thread group, but I didn't find any use for that thread group.
defaultEventExecutorGroup在NettyClientBootstrap的start方法中被开启。
根据它的命名NettyClientWorkerThread,它是一个worker线程组,但是我并没有发现使用到该线程组的地方。
这是不是意味着开启了一个占用系统资源但没什么用处的线程组?
defaultEventExecutorGroup is enabled in the startup method of NettyClientBootstrap.
According to its naming NettyClientWorkerThread, it is a Worker thread group, but I didn't find any use for that thread group.
Does this mean that a thread group is opened that takes up system resources but is of little use?
The text was updated successfully, but these errors were encountered: