Java.Util.Concurrent.Locks.ReentrantReadWriteLock: Property Members

The properties of Java.Util.Concurrent.Locks.ReentrantReadWriteLock are listed below. For a list of all members, see the ReentrantReadWriteLock Members list.

See Also: Inherited members from Java.Lang.Object

Public Properties

[read-only]
HasQueuedThreadsbool. Queries whether any threads are waiting to acquire the read or write lock.
[read-only]
IsFairbool. Returns true if this lock has fairness set true.
[read-only]
IsWriteLockedbool. Queries if the write lock is held by any thread.
[read-only]
IsWriteLockedByCurrentThreadbool. Queries if the write lock is held by the current thread.
[read-only]
QueueLengthint. Returns an estimate of the number of threads waiting to acquire either the read or write lock.
[read-only]
ReadHoldCountint. Queries the number of reentrant read holds on this lock by the current thread.
[read-only]
ReadLockCountint. Queries the number of read locks held for this lock.
[read-only]
WriteHoldCountint. Queries the number of reentrant write holds on this lock by the current thread.

Protected Properties

[read-only]
OwnerJava.Lang.Thread. Returns the thread that currently owns the write lock, or null if not owned.
[read-only]
QueuedReaderThreadsICollection<Java.Lang.Thread>. Returns a collection containing threads that may be waiting to acquire the read lock.
[read-only]
QueuedThreadsICollection<Java.Lang.Thread>. Returns a collection containing threads that may be waiting to acquire either the read or write lock.
[read-only]
QueuedWriterThreadsICollection<Java.Lang.Thread>. Returns a collection containing threads that may be waiting to acquire the write lock.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.