|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.littleshoot.util.ThreadUtils
public final class ThreadUtils
An implementation of the thread utilities interface.
| Method Summary | |
|---|---|
static String |
dumpStack()
Returns the stack trace as a string. |
static String |
dumpStack(Throwable cause)
Returns the stack trace as a string. |
static void |
safeSleep(long milliseconds)
|
static void |
safeWait(Object object)
|
static void |
safeWait(Object object,
int millis)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void safeWait(Object object)
public static void safeWait(Object object,
int millis)
public static void safeSleep(long milliseconds)
public static String dumpStack()
public static String dumpStack(Throwable cause)
cause - The thread to dump.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||