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
Fields in org.jboss.netty.channel.socket.nio declared as ThreadNameDeterminer Modifier and Type Field Description private ThreadNameDeterminerNioClientBossPool. determinerprivate ThreadNameDeterminerNioServerBossPool. determinerprivate ThreadNameDeterminerNioWorkerPool. determinerMethods in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminer Modifier and Type Method Description protected abstract ThreadRenamingRunnableAbstractNioSelector. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)protected ThreadRenamingRunnableAbstractNioWorker. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)protected ThreadRenamingRunnableNioClientBoss. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)protected ThreadRenamingRunnableNioServerBoss. newThreadRenamingRunnable(int id, ThreadNameDeterminer determiner)private voidAbstractNioSelector. openSelector(ThreadNameDeterminer determiner)Start theAbstractNioWorkerand return theSelectorthat will be used for theAbstractNioChannel's when they get registeredConstructors in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminer Constructor Description AbstractNioSelector(java.util.concurrent.Executor executor, ThreadNameDeterminer determiner)AbstractNioWorker(java.util.concurrent.Executor executor, ThreadNameDeterminer determiner)NioClientBoss(java.util.concurrent.Executor bossExecutor, Timer timer, ThreadNameDeterminer determiner)NioClientBossPool(java.util.concurrent.Executor bossExecutor, int bossCount, Timer timer, ThreadNameDeterminer determiner)Create a new instanceNioServerBoss(java.util.concurrent.Executor bossExecutor, ThreadNameDeterminer determiner)NioServerBossPool(java.util.concurrent.Executor bossExecutor, int bossCount, ThreadNameDeterminer determiner)Create a new instanceNioWorker(java.util.concurrent.Executor executor, ThreadNameDeterminer determiner)NioWorkerPool(java.util.concurrent.Executor workerExecutor, int workerCount, ThreadNameDeterminer determiner) -
Uses of ThreadNameDeterminer in org.jboss.netty.channel.socket.oio
Fields in org.jboss.netty.channel.socket.oio declared as ThreadNameDeterminer Modifier and Type Field Description private ThreadNameDeterminerOioClientSocketPipelineSink. determinerprivate ThreadNameDeterminerOioDatagramPipelineSink. determinerprivate ThreadNameDeterminerOioServerSocketPipelineSink. determinerConstructors in org.jboss.netty.channel.socket.oio with parameters of type ThreadNameDeterminer Constructor Description OioClientSocketChannelFactory(java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner)Creates a new instance.OioClientSocketPipelineSink(java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner)OioDatagramChannelFactory(java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner)Creates a new instance.OioDatagramPipelineSink(java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner)OioServerSocketChannelFactory(java.util.concurrent.Executor bossExecutor, java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner)Creates a new instance.OioServerSocketPipelineSink(java.util.concurrent.Executor workerExecutor, ThreadNameDeterminer determiner) -
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.private ThreadNameDeterminerThreadRenamingRunnable. determinerstatic ThreadNameDeterminerThreadNameDeterminer. PROPOSEDThreadNameDeterminerthat accepts the proposed thread name as is.private static ThreadNameDeterminerThreadRenamingRunnable. threadNameDeterminerMethods 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(java.util.concurrent.ThreadFactory threadFactory, ThreadNameDeterminer determiner, long tickDuration, java.util.concurrent.TimeUnit unit, int ticksPerWheel)Creates a new timer.ThreadRenamingRunnable(java.lang.Runnable runnable, java.lang.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.
-