Java.Util.Concurrent.Locks.ReentrantLock.GetWaitingThreads Method
Returns a collection containing those threads that may be waiting on the given condition associated with this lock.

Syntax

[Android.Runtime.Register("getWaitingThreads", "(Ljava/util/concurrent/locks/Condition;)Ljava/util/Collection;", "GetGetWaitingThreads_Ljava_util_concurrent_locks_Condition_Handler")]
protected virtual ICollection<Java.Lang.Thread> GetWaitingThreads (ICondition condition)

Parameters

condition
the condition

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalMonitorStateExceptionif this lock is not held
Java.Lang.IllegalArgumentExceptionif the given condition is not associated with this lock
Java.Lang.NullPointerExceptionif the condition is null

Remarks

Returns a collection containing those threads that may be waiting on the given condition associated with this lock. Because the actual set of threads may change dynamically while constructing this result, the returned collection is only a best-effort estimate. The elements of the returned collection are in no particular order. This method is designed to facilitate construction of subclasses that provide more extensive condition monitoring facilities.

[Android Documentation]

Requirements

Namespace: Java.Util.Concurrent.Locks
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1