该类定义了一个内部接口EventExecutorChooser,该接口有一个方法:
next,
EventExecutorChooserFactory类有个默认实现类:
DefaultEventExecutorChooserFactory,该类有个newChooser方法用来返回EventExecutorChooser
可能会返回两种类型的EventExecutorChooser:
PowerOfTwoEventExecutorChooser和GenericEventExecutorChooser
netty源码:(24)EventExecutorChooserFactory类
最新推荐文章于 2024-07-22 14:15:06 发布