Example usage for Java java.util.concurrent.locks Condition fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | await(long time, TimeUnit unit) Causes the current thread to wait until it is signalled or interrupted, or the specified waiting time elapses. |
void | await() Causes the current thread to wait until it is signalled or Thread#interrupt interrupted . |
void | awaitUninterruptibly() Causes the current thread to wait until it is signalled. |
boolean | awaitUntil(Date deadline) Causes the current thread to wait until it is signalled or interrupted, or the specified deadline elapses. |
void | signal() Wakes up one waiting thread. |
void | signalAll() Wakes up all waiting threads. |