Class NamedThreadFactory

java.lang.Object
com.github.thought2code.mcp.annotated.common.NamedThreadFactory
All Implemented Interfaces:
ThreadFactory

public final class NamedThreadFactory extends Object implements ThreadFactory
A thread factory that creates threads with a specified name prefix.
Author:
codeboyzhou
  • Constructor Details

    • NamedThreadFactory

      public NamedThreadFactory(String namePrefix)
      Creates a new instance of NamedThreadFactory with the specified name prefix.
      Parameters:
      namePrefix - the name prefix for threads created by this factory
  • Method Details