public class DispatcherThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
DispatcherThreadFactory(ThreadGroup group,
String threadName)
Creates a new thread factory.
|
public DispatcherThreadFactory(ThreadGroup group, String threadName)
group
- The group that the threads will be associated with.threadName
- The name for the threads.public Thread newThread(Runnable r)
newThread
in interface ThreadFactory
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.