|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectj3d.examples.common.ThreadLister
public class ThreadLister
This class contains a useful static method for listing all threads and threadgroups in the VM. It also has a simple main() method so it can be run as a standalone program.
Nested Class Summary | |
---|---|
static class |
ThreadLister.Applet
This nested class is a simple applet that displays the output of ThreadLister.listAllThreads() when run from an the start() method of an applet. |
Constructor Summary | |
---|---|
ThreadLister()
|
Method Summary | |
---|---|
static void |
listAllThreads(java.io.PrintWriter out)
Find the root thread group and list it recursively |
static void |
main(java.lang.String[] args)
The main() method: just print the list of threads to the console |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLister()
Method Detail |
---|
public static void listAllThreads(java.io.PrintWriter out)
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |