Class DirectoryThread.Factory

  • All Implemented Interfaces:
    ThreadFactory
    Enclosing class:
    DirectoryThread

    public static final class DirectoryThread.Factory
    extends Object
    implements ThreadFactory
    A factory which can be used by thread pool based services such as Executors to dynamically create new DirectoryThread instances.
    • Constructor Detail

      • Factory

        public Factory​(String threadNamePrefix)
        Creates a new directory thread factory using the provided thread name prefix.
        Parameters:
        threadNamePrefix - The name prefix used for all threads created using this factory.