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 void
doNotify()
Wakes up this sync that has been posed in wait status by adoWait()
call.void
doWait()
Pone in wait status this sync, untildoNotify()
is called to wake it up.
-
-
-
Method Detail
-
doWait
void doWait() throws java.lang.InterruptedException
Pone in wait status this sync, untildoNotify()
is called to wake it up.- Throws:
java.lang.InterruptedException
- See Also:
doNotify()
-
-