|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.util.thread.ThreadGroupFactory
public class ThreadGroupFactory
Constructor Summary | |
---|---|
ThreadGroupFactory(java.lang.String namePrefix)
Creates an instance where the threads created by this factory are assigned to the current thread's ThreadGroup. |
|
ThreadGroupFactory(java.lang.ThreadGroup group,
java.lang.String namePrefix)
Creates an instance where the threads created by this factory are assigned to the specified ThreadGroup. |
Method Summary | |
---|---|
void |
createDaemonThreads(boolean daemonThreads)
Set the threads created by this factory to be daemon threads. |
java.lang.Thread |
newThread(java.lang.Runnable r)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadGroupFactory(java.lang.ThreadGroup group, java.lang.String namePrefix)
group
- The ThreadGroup.namePrefix
- The name prefix for each thread created by this factory.public ThreadGroupFactory(java.lang.String namePrefix)
namePrefix
- The name prefix for each thread created by this factory.Method Detail |
---|
public void createDaemonThreads(boolean daemonThreads)
daemonThreads
- true
to set threads created by this
factory to be daemon threads.public java.lang.Thread newThread(java.lang.Runnable r)
newThread
in interface java.util.concurrent.ThreadFactory
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |