ConditionObject
Condition implementation for a AbstractQueuedSynchronizer serving as the basis of a Lock implementation.
Method documentation for this class describes mechanics, not behavioral specifications from the point of view of Lock and Condition users. Exported versions of this class will in general need to be accompanied by documentation describing condition semantics that rely on those of the associated AbstractQueuedSynchronizer.
This class is Serializable, but all fields are transient, so deserialized conditions have no waiters.
Functions
Implements timed condition wait.
Implements uninterruptible condition wait.
Implements absolute timed condition wait.
Queries whether any threads are waiting on this condition. Implements AbstractQueuedSynchronizer.hasWaiters.
Returns true if this condition was created by the given synchronization object.