接口 GroupChannelOption
public interface GroupChannelOption
netty 核心组件. (1 连接创建线程组, 2 业务处理线程组)
- 作者:
- 渔民小镇
- 日期:
- 2023-02-18
-
方法概要
修饰符和类型方法说明io.netty.channel.EventLoopGroup
EventLoopGroup bossGroup (连接处理组)Class
<? extends io.netty.channel.ServerChannel> channelClassio.netty.channel.EventLoopGroup
EventLoopGroup workerGroup (业务处理组)
-
方法详细资料
-
bossGroup
io.netty.channel.EventLoopGroup bossGroup()EventLoopGroup bossGroup (连接处理组)- 返回:
- EventLoopGroup
-
workerGroup
io.netty.channel.EventLoopGroup workerGroup()EventLoopGroup workerGroup (业务处理组)- 返回:
- EventLoopGroup
-
channelClass
Class<? extends io.netty.channel.ServerChannel> channelClass()channelClass- 返回:
- channelClass
-