Class NamedThreadPoolFactory

java.lang.Object
host.anzo.simon.NamedThreadPoolFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadPoolFactory extends Object implements ThreadFactory
A factory-class that let's you use named threads in a thread-pool
  • Constructor Details

    • NamedThreadPoolFactory

      protected NamedThreadPoolFactory(String baseName)
      Creates a new thread-factory that gives each thread a basename
      Parameters:
      baseName - the basename for the created threads
  • Method Details