|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bluemarsh.jswat.util.ThreadUtils
Provides utility methods for handling threads.
Constructor Summary | |
ThreadUtils()
|
Method Summary | |
static com.sun.jdi.ThreadReference |
getThreadByID(Session session,
java.lang.String identifier)
Finds a thread in the list of all threads whose unique identifier matches that given. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ThreadUtils()
Method Detail |
public static com.sun.jdi.ThreadReference getThreadByID(Session session, java.lang.String identifier) throws NotActiveException
session
- Session in which to look for threads.identifier
- thread identifier, either a decimal number
or a String name.NotActiveException
- Thrown if the current session is not active.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |