public class NextLock.Waiter
extends java.lang.Object
NextLock.Waiter instances are returned from NextLock.getNextWaiter(), and can
be used to await the next NextLock.advanceNext() call in lock from which they
were retrieved.| Modifier and Type | Method and Description |
|---|---|
void |
awaitNext()
Awaits the next
NextLock.advanceNext() call in the associated NextLock. |
public void awaitNext()
throws java.lang.InterruptedException
NextLock.advanceNext() call in the associated NextLock.java.lang.InterruptedExceptionNextLock.advanceNext()