public class NamingThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
| Constructor and Description |
|---|
NamingThreadFactory(java.util.concurrent.ThreadFactory threadFactory)
Creates the object delegating to the given thread factory.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Thread |
newThread(java.lang.Runnable r)
Creates a new thread.
|
static void |
reset()
For test only.
|
public NamingThreadFactory(java.util.concurrent.ThreadFactory threadFactory)
threadFactory - the thread factorypublic static void reset()
public java.lang.Thread newThread(java.lang.Runnable r)
newThread in interface java.util.concurrent.ThreadFactoryr - the runnableCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.