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 ThreadRenamingRunnableNioClientBoss. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)protected ThreadRenamingRunnableNioServerBoss. 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 ThreadNameDeterminerThreadNameDeterminer. CURRENTThreadNameDeterminerthat rejects the proposed thread name and retains the current one.static ThreadNameDeterminerThreadNameDeterminer. PROPOSEDThreadNameDeterminerthat accepts the proposed thread name as is.Methods in org.jboss.netty.util that return ThreadNameDeterminer Modifier and Type Method Description static ThreadNameDeterminerThreadRenamingRunnable. getThreadNameDeterminer()Returns theThreadNameDeterminerwhich overrides the proposed new thread name.Methods in org.jboss.netty.util with parameters of type ThreadNameDeterminer Modifier and Type Method Description static voidThreadRenamingRunnable. setThreadNameDeterminer(ThreadNameDeterminer threadNameDeterminer)Sets theThreadNameDeterminerwhich 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 specifiedrunnableand changes the thread name to the specified thread name when the specifiedrunnableis running.
-