Package org.jboss.util
Interface WaitSync
-
- All Superinterfaces:
Sync
- All Known Implementing Classes:
WaitSemaphore
public interface WaitSync extends Sync
Interface that gives wait - notify primitives to implementors.- Version:
- $Revision$
- See Also:
Semaphore
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddoNotify()Wakes up this sync that has been posed in wait status by adoWait()call.voiddoWait()Pone in wait status this sync, untildoNotify()is called to wake it up.
-
-
-
Method Detail
-
doWait
void doWait() throws java.lang.InterruptedExceptionPone in wait status this sync, untildoNotify()is called to wake it up.- Throws:
java.lang.InterruptedException- See Also:
doNotify()
-
-