Uses of Interface
org.jboss.netty.util.ThreadNameDeterminer
-
Packages that use ThreadNameDeterminer Package Description org.jboss.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).org.jboss.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).org.jboss.netty.util Utility classes used across multiple packages. -
-
Uses of ThreadNameDeterminer in org.jboss.netty.channel.socket.nio
Methods in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminer Modifier and Type Method Description protected ThreadRenamingRunnable
NioClientBoss. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)
protected ThreadRenamingRunnable
NioServerBoss. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)
Constructors in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminer Constructor Description NioClientBossPool(Executor bossExecutor, int bossCount, Timer timer, ThreadNameDeterminer determiner)
Create a new instanceNioServerBossPool(Executor bossExecutor, int bossCount, ThreadNameDeterminer determiner)
Create a new instanceNioWorker(Executor executor, ThreadNameDeterminer determiner)
NioWorkerPool(Executor workerExecutor, int workerCount, ThreadNameDeterminer determiner)
-
Uses of ThreadNameDeterminer in org.jboss.netty.channel.socket.oio
Constructors in org.jboss.netty.channel.socket.oio with parameters of type ThreadNameDeterminer Constructor Description OioClientSocketChannelFactory(Executor workerExecutor, ThreadNameDeterminer determiner)
Creates a new instance.OioDatagramChannelFactory(Executor workerExecutor, ThreadNameDeterminer determiner)
Creates a new instance.OioServerSocketChannelFactory(Executor bossExecutor, Executor workerExecutor, ThreadNameDeterminer determiner)
Creates a new instance. -
Uses of ThreadNameDeterminer in org.jboss.netty.util
Fields in org.jboss.netty.util declared as ThreadNameDeterminer Modifier and Type Field Description static ThreadNameDeterminer
ThreadNameDeterminer. CURRENT
ThreadNameDeterminer
that rejects the proposed thread name and retains the current one.static ThreadNameDeterminer
ThreadNameDeterminer. PROPOSED
ThreadNameDeterminer
that accepts the proposed thread name as is.Methods in org.jboss.netty.util that return ThreadNameDeterminer Modifier and Type Method Description static ThreadNameDeterminer
ThreadRenamingRunnable. getThreadNameDeterminer()
Returns theThreadNameDeterminer
which overrides the proposed new thread name.Methods in org.jboss.netty.util with parameters of type ThreadNameDeterminer Modifier and Type Method Description static void
ThreadRenamingRunnable. setThreadNameDeterminer(ThreadNameDeterminer threadNameDeterminer)
Sets theThreadNameDeterminer
which overrides the proposed new thread name.Constructors in org.jboss.netty.util with parameters of type ThreadNameDeterminer Constructor Description HashedWheelTimer(ThreadFactory threadFactory, ThreadNameDeterminer determiner, long tickDuration, TimeUnit unit, int ticksPerWheel)
Creates a new timer.ThreadRenamingRunnable(Runnable runnable, String proposedThreadName, ThreadNameDeterminer determiner)
Creates a new instance which wraps the specifiedrunnable
and changes the thread name to the specified thread name when the specifiedrunnable
is running.
-