public class SynapseThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
SynapseThreadFactory(ThreadGroup group,
String namePrefix)
Constructor for the ThreadFactory to create new threads
|
public SynapseThreadFactory(ThreadGroup group, String namePrefix)
group
- - all the threads are created under this group by this factorynamePrefix
- - name prefix of the threads created by this factorypublic Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
runnable
- - Runnable class to run by the created threadCopyright © 2005-2017 Apache Software Foundation. All Rights Reserved.