Class ThreadFactories


  • public final class ThreadFactories
    extends Object
    • Method Detail

      • namedDaemonThreadFactory

        public static ThreadFactory namedDaemonThreadFactory​(String nameFormat)
        Returns a ThreadFactory with the specified name format
        Parameters:
        nameFormat - the same format to be used to create new threads
        Returns:
        a new thread factory