public class QpidJMSThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
QpidJMSThreadFactory(String threadName,
boolean daemon)
Creates a new Thread factory that will create threads with the
given name and daemon state.
|
QpidJMSThreadFactory(String threadName,
boolean daemon,
AtomicReference<Thread> threadTracker)
Creates a new Thread factory that will create threads with the
given name and daemon state.
|
public QpidJMSThreadFactory(String threadName, boolean daemon)
threadName - the name that will be used for each thread created.daemon - should the created thread be a daemon thread.public QpidJMSThreadFactory(String threadName, boolean daemon, AtomicReference<Thread> threadTracker)
threadName - the name that will be used for each thread created.daemon - should the created thread be a daemon thread.threadTracker - AtomicReference that will be updated any time a new Thread is created.public Thread newThread(Runnable target)
newThread in interface ThreadFactoryCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.