次の方法で共有


AbstractQueuedLongSynchronizer.GetWaitQueueLength Method

Definition

Returns an estimate of the number of threads waiting on the given condition associated with this synchronizer.

[Android.Runtime.Register("getWaitQueueLength", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)I", "")]
public int GetWaitQueueLength (Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject? condition);
[<Android.Runtime.Register("getWaitQueueLength", "(Ljava/util/concurrent/locks/AbstractQueuedLongSynchronizer$ConditionObject;)I", "")>]
member this.GetWaitQueueLength : Java.Util.Concurrent.Locks.AbstractQueuedLongSynchronizer.ConditionObject -> int

Parameters

Returns

the estimated number of waiting threads

Attributes

Exceptions

if exclusive synchronization is not held

if the given condition is not associated with this synchronizer

if the condition is null

Remarks

Java documentation for java.util.concurrent.locks.AbstractQueuedLongSynchronizer.getWaitQueueLength(java.util.concurrent.locks.ConditionObject).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to