public class ThreadUtil extends Object
Constructor and Description |
---|
ThreadUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
clearStatus() |
static void |
clearStatus(Thread t) |
static FastStack<String> |
getStatus() |
static FastStack<String> |
getStatus(Thread t) |
static void |
printStackTrace()
Creates an prints a stack trace
|
static void |
pushStatus(String what) |
static void |
pushStatus(Thread t,
String what) |
static void |
sleep(long time)
Pauses for a given number of milliseconds
|
public static void printStackTrace()
public static void sleep(long time)
time
- number of milliseconds for which to pausepublic static void pushStatus(String what)
public static void clearStatus()
public static void clearStatus(Thread t)