|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceforge.jemm.util.LockStack
public final class LockStack
A ThreadLock stack which tracks how deep within locks a Thread current is.
Method Summary | |
---|---|
static void |
clearAll()
Gets rid of all locks. |
static boolean |
hasLock()
If 1 or more locks are held returns true, else false. |
static ClientThreadId |
pop()
Removes a lock. |
static void |
push(ClientThreadId id)
Adds a lock. |
static int |
size()
Returns the number of locks currently held in the thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static int size()
public static void push(ClientThreadId id)
id
- public static ClientThreadId pop()
public static void clearAll()
public static boolean hasLock()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |