public abstract static class WaitQueue.AbstractSignal extends java.lang.Object implements WaitQueue.Signal
| Constructor and Description |
|---|
AbstractSignal() |
| Modifier and Type | Method and Description |
|---|---|
void |
await()
Wait until signalled, or throw an InterruptedException if interrupted before this happens.
|
void |
awaitUninterruptibly()
Wait, without throwing InterruptedException, until signalled.
|
boolean |
awaitUntil(long until)
Wait until signalled, or the provided time is reached, or the thread is interrupted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancel, checkAndClear, isCancelled, isSet, isSignalledpublic void awaitUninterruptibly()
WaitQueue.SignalawaitUninterruptibly in interface WaitQueue.Signalpublic void await()
throws java.lang.InterruptedException
WaitQueue.Signalawait in interface WaitQueue.Signaljava.lang.InterruptedExceptionpublic boolean awaitUntil(long until)
throws java.lang.InterruptedException
WaitQueue.SignalawaitUntil in interface WaitQueue.Signaluntil - System.nanoTime() to wait untiljava.lang.InterruptedExceptionCopyright © 2016 The Apache Software Foundation