Uses of Class
java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject
-
Packages that use AbstractQueuedLongSynchronizer.ConditionObject 软件包 描述 java.util.concurrent.locks 接口和类,提供用于锁定和等待与内置同步和监视器不同的条件的框架。 -
-
Uses of AbstractQueuedLongSynchronizer.ConditionObject in java.util.concurrent.locks
Methods in java.util.concurrent.locks with parameters of type AbstractQueuedLongSynchronizer.ConditionObject 变量和类型 方法 描述 Collection<Thread>
AbstractQueuedLongSynchronizer. getWaitingThreads(AbstractQueuedLongSynchronizer.ConditionObject condition)
返回一个集合,其中包含可能正在等待与此同步器关联的给定条件的那些线程。int
AbstractQueuedLongSynchronizer. getWaitQueueLength(AbstractQueuedLongSynchronizer.ConditionObject condition)
返回与此同步器关联的给定条件上等待的线程数的估计值。boolean
AbstractQueuedLongSynchronizer. hasWaiters(AbstractQueuedLongSynchronizer.ConditionObject condition)
查询是否有任何线程正在等待与此同步器关联的给定条件。boolean
AbstractQueuedLongSynchronizer. owns(AbstractQueuedLongSynchronizer.ConditionObject condition)
查询给定的ConditionObject是否将此同步器用作其锁定。
-