public class NioServerBossPool extends AbstractNioBossPool<NioServerBoss>
NioServerBoss
instances to useConstructor and Description |
---|
NioServerBossPool(Executor bossExecutor,
int bossCount)
Create a new instance using no
ThreadNameDeterminer |
NioServerBossPool(Executor bossExecutor,
int bossCount,
ThreadNameDeterminer determiner)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
protected NioServerBoss |
newBoss(Executor executor)
|
init, nextBoss, rebuildSelectors, releaseExternalResources, shutdown
public NioServerBossPool(Executor bossExecutor, int bossCount, ThreadNameDeterminer determiner)
bossExecutor
- the Executor
to use for server the NioServerBoss
bossCount
- the number of NioServerBoss
instances this NioServerBossPool
will holddeterminer
- the ThreadNameDeterminer
to use for name the threads. Use null
if you not want to set one explicit.public NioServerBossPool(Executor bossExecutor, int bossCount)
ThreadNameDeterminer
bossExecutor
- the Executor
to use for server the NioServerBoss
bossCount
- the number of NioServerBoss
instances this NioServerBossPool
will holdprotected NioServerBoss newBoss(Executor executor)
AbstractNioBossPool
newBoss
in class AbstractNioBossPool<NioServerBoss>
executor
- the Executor
to useBoss
Copyright © 2008-2015 The Netty Project. All Rights Reserved.