public final class NettyClientBossPoolBuilder extends Object
BossPool
which can be used for sharing boss pools
with multiple Netty NettyServerBootstrapFactory
server bootstrap configurations.Constructor and Description |
---|
NettyClientBossPoolBuilder() |
Modifier and Type | Method and Description |
---|---|
org.jboss.netty.channel.socket.nio.BossPool |
build()
Creates a new boss pool.
|
void |
setBossCount(int bossCount) |
void |
setName(String name) |
void |
setPattern(String pattern) |
void |
setTimer(org.jboss.netty.util.Timer timer) |
NettyClientBossPoolBuilder |
stopTimer() |
NettyClientBossPoolBuilder |
withBossCount(int bossCount) |
NettyClientBossPoolBuilder |
withName(String name) |
NettyClientBossPoolBuilder |
withPattern(String pattern) |
NettyClientBossPoolBuilder |
withTimer(org.jboss.netty.util.Timer timer) |
public void setName(String name)
public void setPattern(String pattern)
public void setBossCount(int bossCount)
public void setTimer(org.jboss.netty.util.Timer timer)
public NettyClientBossPoolBuilder withName(String name)
public NettyClientBossPoolBuilder withPattern(String pattern)
public NettyClientBossPoolBuilder withBossCount(int bossCount)
public NettyClientBossPoolBuilder withTimer(org.jboss.netty.util.Timer timer)
public NettyClientBossPoolBuilder stopTimer()
public org.jboss.netty.channel.socket.nio.BossPool build()
Apache Camel