Class ThreadFactoryUser

    • Constructor Detail

      • ThreadFactoryUser

        public ThreadFactoryUser()
    • Method Detail

      • setThreadFactory

        public ThreadFactory setThreadFactory​(ThreadFactory factory)
        Set the factory for creating new threads. By default, new threads are created without any special priority, threadgroup, or status parameters. You can use a different factory to change the kind of Thread class used or its construction parameters.
        Parameters:
        factory - the factory to use
        Returns:
        the previous factory
      • getThreadFactory

        public ThreadFactory getThreadFactory()
        Get the factory for creating new threads.