Class DispatcherThreadFactory
java.lang.Object
org.apache.flink.runtime.taskmanager.DispatcherThreadFactory
- All Implemented Interfaces:
ThreadFactory
Thread factory that creates threads with a given name, associates them with a given thread group,
and set them to daemon mode.
-
Constructor Summary
ConstructorsConstructorDescriptionDispatcherThreadFactory(ThreadGroup group, String threadName) Creates a new thread factory. -
Method Summary
-
Constructor Details
-
DispatcherThreadFactory
Creates a new thread factory.- Parameters:
group- The group that the threads will be associated with.threadName- The name for the threads.
-
-
Method Details
-
newThread
- Specified by:
newThreadin interfaceThreadFactory
-