Uses of Class
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject
| Package | Description |
|---|---|
| java.util.concurrent.locks |
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
Methods in java.util.concurrent.locks with parameters of type AbstractQueuedLongSynchronizer.ConditionObject Modifier and Type Method Description 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.intAbstractQueuedLongSynchronizer. getWaitQueueLength(AbstractQueuedLongSynchronizer.ConditionObject condition)Returns an estimate of the number of threads waiting on the given condition associated with this synchronizer.booleanAbstractQueuedLongSynchronizer. hasWaiters(AbstractQueuedLongSynchronizer.ConditionObject condition)Queries whether any threads are waiting on the given condition associated with this synchronizer.booleanAbstractQueuedLongSynchronizer. owns(AbstractQueuedLongSynchronizer.ConditionObject condition)Queries whether the given ConditionObject uses this synchronizer as its lock.