Module id.xfunction

Class NamedThreadFactory

Object
NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadFactory extends Object implements ThreadFactory
Java default thread factory does not allow you to specify the name for threads it creates. This thread factory does.
  • Constructor Details

    • NamedThreadFactory

      public NamedThreadFactory(String name)
      Parameters:
      name - threads will be created with this name
  • Method Details