public class InboundThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
InboundThreadFactory(ThreadGroup group,
String namePrefix)
Constructor for the ThreadFactory to create new threads
|
public InboundThreadFactory(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.