Class ActiveMQThreadFactory

java.lang.Object
org.apache.activemq.artemis.utils.ActiveMQThreadFactory
All Implemented Interfaces:
ThreadFactory

public final class ActiveMQThreadFactory extends Object implements ThreadFactory
  • Constructor Details

    • ActiveMQThreadFactory

      public ActiveMQThreadFactory(String groupName, boolean daemon, ClassLoader tccl)
      Construct a new instance. The access control context of the calling thread will be the one used to create new threads if a security manager is installed.
      Parameters:
      groupName - the name of the thread group to assign threads to by default
      daemon - whether the created threads should be daemon threads
      tccl - the context class loader of newly created threads
    • ActiveMQThreadFactory

      public ActiveMQThreadFactory(String groupName, String prefix, boolean daemon, ClassLoader tccl)
      Construct a new instance. The access control context of the calling thread will be the one used to create new threads if a security manager is installed.
      Parameters:
      groupName - the name of the thread group to assign threads to by default
      daemon - whether the created threads should be daemon threads
      tccl - the context class loader of newly created threads
  • Method Details