Class ActiveMQThreadFactory
java.lang.Object
org.apache.activemq.artemis.utils.ActiveMQThreadFactory
- All Implemented Interfaces:
ThreadFactory
-
Constructor Summary
ConstructorsConstructorDescriptionActiveMQThreadFactory(String groupName, boolean daemon, ClassLoader tccl) Construct a new instance.ActiveMQThreadFactory(String groupName, String prefix, boolean daemon, ClassLoader tccl) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic ActiveMQThreadFactorydefaultThreadFactory(String callerClassName) booleanIt will wait all threads to finish
-
Constructor Details
-
ActiveMQThreadFactory
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 defaultdaemon- whether the created threads should be daemon threadstccl- the context class loader of newly created threads
-
ActiveMQThreadFactory
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 defaultdaemon- whether the created threads should be daemon threadstccl- the context class loader of newly created threads
-
-
Method Details
-
newThread
- Specified by:
newThreadin interfaceThreadFactory
-
join
It will wait all threads to finish -
defaultThreadFactory
-