public class NamedThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
NamedThreadFactory(String name) |
NamedThreadFactory(String name,
ClassLoader contextClassLoader) |
Modifier and Type | Method and Description |
---|---|
protected void |
configureThread(Thread t) |
protected void |
doConfigureThread(Thread t) |
ClassLoader |
getContextClassLoader() |
AtomicLong |
getCounter() |
String |
getName() |
Thread |
newThread(Runnable runnable) |
public NamedThreadFactory(String name)
public NamedThreadFactory(String name, ClassLoader contextClassLoader)
public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
protected void configureThread(Thread t)
protected void doConfigureThread(Thread t)
public ClassLoader getContextClassLoader()
public AtomicLong getCounter()
public String getName()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.