Class Threads


  • public final class Threads
    extends Object
    Thread utilities.
    • Constructor Detail

      • Threads

        public Threads()
    • Method Detail

      • namedThreads

        public static ThreadFactory namedThreads​(String pattern,
                                                 org.slf4j.Logger log)
        Returns a thread factory that produces threads named according to the supplied name pattern.
        Parameters:
        pattern - name pattern
        Returns:
        thread factory