info.aduna.concurrent
Class ThreadUtil
java.lang.Object
info.aduna.concurrent.ThreadUtil
public class ThreadUtil
- extends Object
Thread-related utility methods.
|
Method Summary |
static void |
dumpAllStacks()
Dumps the track traces of all live Threads to System.out. |
static void |
dumpAllStacks(PrintStream stream)
Dumps the track traces of all live Threads to the specified PrintStream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadUtil
public ThreadUtil()
dumpAllStacks
public static void dumpAllStacks()
- Dumps the track traces of all live Threads to System.out.
dumpAllStacks
public static void dumpAllStacks(PrintStream stream)
- Dumps the track traces of all live Threads to the specified PrintStream.
- Parameters:
stream - The PrintStream to which all stack traces will be written.
Copyright © 1997-2008 Aduna. All Rights Reserved.