共用方式為


ReentrantReadWriteLock.QueuedReaderThreads Property

Definition

Returns a collection containing threads that may be waiting to acquire the read lock.

protected virtual System.Collections.Generic.ICollection<Java.Lang.Thread>? QueuedReaderThreads { [Android.Runtime.Register("getQueuedReaderThreads", "()Ljava/util/Collection;", "GetGetQueuedReaderThreadsHandler")] get; }
[<get: Android.Runtime.Register("getQueuedReaderThreads", "()Ljava/util/Collection;", "GetGetQueuedReaderThreadsHandler")>]
member this.QueuedReaderThreads : System.Collections.Generic.ICollection<Java.Lang.Thread>

Property Value

the collection of threads

Attributes

Remarks

Returns a collection containing threads that may be waiting to acquire the read 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 lock monitoring facilities.

Java documentation for java.util.concurrent.locks.ReentrantReadWriteLock.getQueuedReaderThreads().

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