Freigeben über


ReentrantReadWriteLock.QueuedWriterThreads Property

Definition

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

protected virtual System.Collections.Generic.ICollection<Java.Lang.Thread>? QueuedWriterThreads { [Android.Runtime.Register("getQueuedWriterThreads", "()Ljava/util/Collection;", "GetGetQueuedWriterThreadsHandler")] get; }
[<get: Android.Runtime.Register("getQueuedWriterThreads", "()Ljava/util/Collection;", "GetGetQueuedWriterThreadsHandler")>]
member this.QueuedWriterThreads : 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 write 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.getQueuedWriterThreads().

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