Uses of Interface
org.jboss.netty.util.ThreadNameDeterminer
Packages that use ThreadNameDeterminer
Package
Description
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
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 ThreadNameDeterminerModifier and TypeMethodDescriptionprotected 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 ThreadNameDeterminerModifierConstructorDescriptionNioClientBossPool(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 ThreadNameDeterminerModifierConstructorDescriptionOioClientSocketChannelFactory(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 ThreadNameDeterminerModifier and TypeFieldDescriptionstatic final ThreadNameDeterminerThreadNameDeterminer.CURRENTThreadNameDeterminerthat rejects the proposed thread name and retains the current one.static final ThreadNameDeterminerThreadNameDeterminer.PROPOSEDThreadNameDeterminerthat accepts the proposed thread name as is.Methods in org.jboss.netty.util that return ThreadNameDeterminerModifier and TypeMethodDescriptionstatic ThreadNameDeterminerThreadRenamingRunnable.getThreadNameDeterminer()Returns theThreadNameDeterminerwhich overrides the proposed new thread name.Methods in org.jboss.netty.util with parameters of type ThreadNameDeterminerModifier and TypeMethodDescriptionstatic voidThreadRenamingRunnable.setThreadNameDeterminer(ThreadNameDeterminer threadNameDeterminer) Sets theThreadNameDeterminerwhich overrides the proposed new thread name.Constructors in org.jboss.netty.util with parameters of type ThreadNameDeterminerModifierConstructorDescriptionHashedWheelTimer(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.