public final class ActiveMQThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
ActiveMQThreadFactory(String groupName,
boolean daemon,
ClassLoader tccl)
Construct a new instance.
|
ActiveMQThreadFactory(String groupName,
String prefix,
boolean daemon,
ClassLoader tccl)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
static ActiveMQThreadFactory |
defaultThreadFactory() |
Thread |
newThread(Runnable command) |
public ActiveMQThreadFactory(String groupName, boolean daemon, ClassLoader tccl)
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 threadspublic ActiveMQThreadFactory(String groupName, String prefix, boolean daemon, ClassLoader tccl)
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 threadspublic Thread newThread(Runnable command)
newThread
in interface ThreadFactory
public static ActiveMQThreadFactory defaultThreadFactory()
Copyright © 2017 JBoss by Red Hat. All rights reserved.