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
Fields in org.jboss.netty.channel.socket.nio declared as ThreadNameDeterminerModifier and TypeFieldDescriptionprivate final ThreadNameDeterminer
NioClientBossPool.determiner
private final ThreadNameDeterminer
NioServerBossPool.determiner
private final ThreadNameDeterminer
NioWorkerPool.determiner
Methods in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminerModifier and TypeMethodDescriptionprotected abstract ThreadRenamingRunnable
AbstractNioSelector.newThreadRenamingRunnable
(int id, ThreadNameDeterminer determiner) protected ThreadRenamingRunnable
AbstractNioWorker.newThreadRenamingRunnable
(int id, ThreadNameDeterminer determiner) protected ThreadRenamingRunnable
NioClientBoss.newThreadRenamingRunnable
(int id, ThreadNameDeterminer determiner) protected ThreadRenamingRunnable
NioServerBoss.newThreadRenamingRunnable
(int id, ThreadNameDeterminer determiner) private void
AbstractNioSelector.openSelector
(ThreadNameDeterminer determiner) Start theAbstractNioWorker
and return theSelector
that will be used for theAbstractNioChannel
's when they get registeredConstructors in org.jboss.netty.channel.socket.nio with parameters of type ThreadNameDeterminerModifierConstructorDescription(package private)
AbstractNioSelector
(Executor executor, ThreadNameDeterminer determiner) (package private)
AbstractNioWorker
(Executor executor, ThreadNameDeterminer determiner) (package private)
NioClientBoss
(Executor bossExecutor, Timer timer, ThreadNameDeterminer determiner) NioClientBossPool
(Executor bossExecutor, int bossCount, Timer timer, ThreadNameDeterminer determiner) Create a new instance(package private)
NioServerBoss
(Executor bossExecutor, ThreadNameDeterminer determiner) NioServerBossPool
(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
Fields in org.jboss.netty.channel.socket.oio declared as ThreadNameDeterminerModifier and TypeFieldDescriptionprivate final ThreadNameDeterminer
OioClientSocketPipelineSink.determiner
private final ThreadNameDeterminer
OioDatagramPipelineSink.determiner
private final ThreadNameDeterminer
OioServerSocketPipelineSink.determiner
Constructors in org.jboss.netty.channel.socket.oio with parameters of type ThreadNameDeterminerModifierConstructorDescriptionOioClientSocketChannelFactory
(Executor workerExecutor, ThreadNameDeterminer determiner) Creates a new instance.(package private)
OioClientSocketPipelineSink
(Executor workerExecutor, ThreadNameDeterminer determiner) OioDatagramChannelFactory
(Executor workerExecutor, ThreadNameDeterminer determiner) Creates a new instance.(package private)
OioDatagramPipelineSink
(Executor workerExecutor, ThreadNameDeterminer determiner) OioServerSocketChannelFactory
(Executor bossExecutor, Executor workerExecutor, ThreadNameDeterminer determiner) Creates a new instance.(package private)
OioServerSocketPipelineSink
(Executor workerExecutor, ThreadNameDeterminer determiner) -
Uses of ThreadNameDeterminer in org.jboss.netty.util
Fields in org.jboss.netty.util declared as ThreadNameDeterminerModifier and TypeFieldDescriptionstatic final ThreadNameDeterminer
ThreadNameDeterminer.CURRENT
ThreadNameDeterminer
that rejects the proposed thread name and retains the current one.private final ThreadNameDeterminer
ThreadRenamingRunnable.determiner
static final ThreadNameDeterminer
ThreadNameDeterminer.PROPOSED
ThreadNameDeterminer
that accepts the proposed thread name as is.private static ThreadNameDeterminer
ThreadRenamingRunnable.threadNameDeterminer
Methods in org.jboss.netty.util that return ThreadNameDeterminerModifier and TypeMethodDescriptionstatic ThreadNameDeterminer
ThreadRenamingRunnable.getThreadNameDeterminer()
Returns theThreadNameDeterminer
which overrides the proposed new thread name.Methods in org.jboss.netty.util with parameters of type ThreadNameDeterminerModifier and TypeMethodDescriptionstatic void
ThreadRenamingRunnable.setThreadNameDeterminer
(ThreadNameDeterminer threadNameDeterminer) Sets theThreadNameDeterminer
which 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 specifiedrunnable
and changes the thread name to the specified thread name when the specifiedrunnable
is running.