org.mule.util.concurrent
Class NamedThreadFactory
java.lang.Object
org.mule.util.concurrent.NamedThreadFactory
- All Implemented Interfaces:
- ThreadFactory
- Direct Known Subclasses:
- DaemonThreadFactory
public class NamedThreadFactory
- extends Object
- implements ThreadFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedThreadFactory
public NamedThreadFactory(String name)
NamedThreadFactory
public NamedThreadFactory(String name,
ClassLoader contextClassLoader)
newThread
public Thread newThread(Runnable runnable)
- Specified by:
newThread
in interface ThreadFactory
configureThread
protected void configureThread(Thread t)
doConfigureThread
protected void doConfigureThread(Thread t)
getContextClassLoader
public ClassLoader getContextClassLoader()
getCounter
public AtomicLong getCounter()
getName
public String getName()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.