Class NamedThreadFactory

java.lang.Object
com.github.jelmerk.knn.util.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadFactory extends Object implements ThreadFactory
A ThreadFactory implementation that names each thread created using a user defined format string.
  • Constructor Details

    • NamedThreadFactory

      public NamedThreadFactory(String namingPattern)
      Constructs a new NamedThreadFactory
      Parameters:
      namingPattern - format string used to construct the name assigned to each thread created.
  • Method Details