|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface that gives wait - notify primitives to implementors.
Semaphore
(src) Method Summary | |
void |
doNotify()
Wakes up this sync that has been posed in wait status by a doWait() call. |
void |
doWait()
Pone in wait status this sync, until doNotify() is called to wake it up. |
Methods inherited from interface org.jboss.util.Sync (src) |
acquire, release |
Method Detail |
public void doWait() throws java.lang.InterruptedException
doNotify()
is called to wake it up.
java.lang.InterruptedException
doNotify()
public void doNotify() throws java.lang.InterruptedException
doWait()
call.
If this sync is not waiting, invoking this method should have no effect.
java.lang.InterruptedException
doWait()
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |