|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.retrogui.messageserver.common.ThreadDiagnostics
thread diagnostics
| Constructor Summary | |
ThreadDiagnostics()
|
|
| Method Summary | |
static void |
dumpStack()
dump stack (to console) of current thread |
java.util.ArrayList |
getAllThreads()
return an ArrayList of currently running threads |
protected java.util.ArrayList |
getThreadList()
DOCUMENT ME! |
static java.lang.ThreadGroup |
getTopLevelThreadGroup()
from the current thread get the topmost threadgroup of the application. |
static void |
main(java.lang.String[] args)
main - for testing |
protected void |
setThreadList(java.util.ArrayList threadList)
DOCUMENT ME! |
void |
visit(java.lang.ThreadGroup group,
int level)
visitor method that visits all threadgroups and threads and accumulates information into data members |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ThreadDiagnostics()
| Method Detail |
public static java.lang.ThreadGroup getTopLevelThreadGroup()
public static void dumpStack()
public java.util.ArrayList getAllThreads()
public void visit(java.lang.ThreadGroup group,
int level)
group - level - public static void main(java.lang.String[] args)
args - protected void setThreadList(java.util.ArrayList threadList)
threadList - protected java.util.ArrayList getThreadList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||