
public class NioServerBossPool extends AbstractNioBossPool<NioServerBoss>
NioServerBoss instances to use| Constructor 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, shutdownpublic NioServerBossPool(Executor bossExecutor, int bossCount, ThreadNameDeterminer determiner)
bossExecutor - the Executor to use for server the NioServerBossbossCount - 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)
ThreadNameDeterminerbossExecutor - the Executor to use for server the NioServerBossbossCount - the number of NioServerBoss instances this NioServerBossPool will holdprotected NioServerBoss newBoss(Executor executor)
AbstractNioBossPoolnewBoss in class AbstractNioBossPool<NioServerBoss>executor - the Executor to useBossCopyright © 2008-2014 The Netty Project. All Rights Reserved.