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