public static interface WaitQueue.Signal extends Condition
Condition.Async, Condition.Sync
Awaitable.AbstractAwaitable, Awaitable.AsyncAwaitable, Awaitable.Defaults, Awaitable.SyncAwaitable
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Should only be called by the owning thread.
|
boolean |
checkAndClear()
atomically: cancels the Signal if !isSet(), or returns true if isSignalled()
|
boolean |
isCancelled() |
boolean |
isSet() |
isSignalled, newOneTimeCondition, signal, signalAll
await, await, awaitThrowUncheckedOnInterrupt, awaitThrowUncheckedOnInterrupt, awaitUninterruptibly, awaitUninterruptibly, awaitUntil, awaitUntilThrowUncheckedOnInterrupt, awaitUntilUninterruptibly
boolean isCancelled()
boolean isSet()
boolean checkAndClear()
void cancel()
Copyright © 2009- The Apache Software Foundation