Package org.apache.camel.component.netty
Class NettyServerBossPoolBuilder
java.lang.Object
org.apache.camel.component.netty.NettyServerBossPoolBuilder
A builder to create Netty
EventLoopGroup which can be used for executor boss events with
multiple Netty NettyServerBootstrapFactory server bootstrap configurations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.EventLoopGroupbuild()Creates a new boss pool.voidsetBossCount(int bossCount) voidvoidsetNativeTransport(boolean nativeTransport) voidsetPattern(String pattern) withBossCount(int bossCount) withNativeTransport(boolean nativeTransport) withPattern(String pattern)
-
Constructor Details
-
NettyServerBossPoolBuilder
public NettyServerBossPoolBuilder()
-
-
Method Details
-
setName
-
setPattern
-
setBossCount
public void setBossCount(int bossCount) -
setNativeTransport
public void setNativeTransport(boolean nativeTransport) -
withName
-
withPattern
-
withBossCount
-
withNativeTransport
-
build
public io.netty.channel.EventLoopGroup build()Creates a new boss pool.
-