Uses of Class
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject
Package
Description
Interfaces and classes providing a framework for locking and waiting
for conditions that is distinct from built-in synchronization and
monitors.
-
Uses of AbstractQueuedLongSynchronizer.ConditionObject in java.util.concurrent.locks
Modifier and TypeMethodDescriptionfinal Collection<Thread>
AbstractQueuedLongSynchronizer.getWaitingThreads
(AbstractQueuedLongSynchronizer.ConditionObject condition) Returns a collection containing those threads that may be waiting on the given condition associated with this synchronizer.final int
AbstractQueuedLongSynchronizer.getWaitQueueLength
(AbstractQueuedLongSynchronizer.ConditionObject condition) Returns an estimate of the number of threads waiting on the given condition associated with this synchronizer.final boolean
AbstractQueuedLongSynchronizer.hasWaiters
(AbstractQueuedLongSynchronizer.ConditionObject condition) Queries whether any threads are waiting on the given condition associated with this synchronizer.final boolean
AbstractQueuedLongSynchronizer.owns
(AbstractQueuedLongSynchronizer.ConditionObject condition) Queries whether the given ConditionObject uses this synchronizer as its lock.