Class UnorderedThreadPoolEventExecutor.AccountingThreadFactory
java.lang.Object
io.netty.util.concurrent.UnorderedThreadPoolEventExecutor.AccountingThreadFactory
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
- Enclosing class:
UnorderedThreadPoolEventExecutor
private static final class UnorderedThreadPoolEventExecutor.AccountingThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAccountingThreadFactory(java.util.concurrent.ThreadFactory delegate, java.util.Set<java.lang.Thread> threads) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
delegate
private final java.util.concurrent.ThreadFactory delegate -
threads
private final java.util.Set<java.lang.Thread> threads
-
-
Constructor Details
-
AccountingThreadFactory
private AccountingThreadFactory(java.util.concurrent.ThreadFactory delegate, java.util.Set<java.lang.Thread> threads)
-
-
Method Details
-
newThread
public java.lang.Thread newThread(java.lang.Runnable r) - Specified by:
newThreadin interfacejava.util.concurrent.ThreadFactory
-