Class DispatcherThreadFactory

  • All Implemented Interfaces:
    ThreadFactory

    public class DispatcherThreadFactory
    extends Object
    implements ThreadFactory
    Thread factory that creates threads with a given name, associates them with a given thread group, and set them to daemon mode.
    • Constructor Detail

      • DispatcherThreadFactory

        public DispatcherThreadFactory​(ThreadGroup group,
                                       String threadName)
        Creates a new thread factory.
        Parameters:
        group - The group that the threads will be associated with.
        threadName - The name for the threads.