public interface WaitSync extends Sync
Semaphore| Modifier and Type | Method and Description |
|---|---|
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. |
void doWait()
throws InterruptedException
doNotify() is called to wake it up.InterruptedExceptiondoNotify()void doNotify()
throws InterruptedException
doWait() call.
If this sync is not waiting, invoking this method should have no effect.InterruptedExceptiondoWait()Copyright © 2015 JBoss by Red Hat. All rights reserved.