|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.util.lang.Threads
public class Threads
A utility class for dealing with Threads.
| Method Summary | |
|---|---|
static void |
dumpAllThreads(org.slf4j.Logger logger)
Creates a dump of all the threads' state and stack traces similar to what JVM produces when signal SIGQUIT is send to the process on Unix machine. |
static void |
dumpSingleThread(org.slf4j.Logger logger,
Thread thread)
Creates a dump of the threads' state and stack traces similar to the one that the JVM produces when signal SIGQUIT is send to the process on Unix machine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void dumpAllThreads(org.slf4j.Logger logger)
Note: This is a best effort to dump as much information as possible because the Java API doesn't provide means to get all the information that is produced by jstack program for example.
logger - the logger where the collected information will be written
public static void dumpSingleThread(org.slf4j.Logger logger,
Thread thread)
Note: This is a best effort to dump as much information as possible because the Java API doesn't provide means to get all the information that is produced by jstack program for example.
logger - the logger where the collected information will be writtenthread - the thread to dump
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||