Class NamedThreadFactory

java.lang.Object
com.linkedin.venice.utils.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public class NamedThreadFactory extends Object implements ThreadFactory
A thread factory that sets the threads to create threads with a specific prefix name.
  • Constructor Details

    • NamedThreadFactory

      public NamedThreadFactory()
      This constructor is used when the thread name is unknown (or do not need to be set at construct time)
    • NamedThreadFactory

      public NamedThreadFactory(String threadName)
    • NamedThreadFactory

      public NamedThreadFactory(String threadName, Runnable uncaughtExceptionHook)
  • Method Details