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

The methods 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 Methods

GetWaitQueueLength(ICondition) : int
Returns an estimate of the number of threads waiting on the given condition associated with the write lock.
HasQueuedThread(Java.Lang.Thread) : bool
Queries whether the given thread is waiting to acquire either the read or write lock.
HasWaiters(ICondition) : bool
Queries whether any threads are waiting on the given condition associated with the write lock.
ReadLock() : ILock
Returns the lock used for reading.
WriteLock() : ILock
Returns the lock used for writing.

Protected Methods

GetWaitingThreads(ICondition) : ICollection<Java.Lang.Thread>
Returns a collection containing those threads that may be waiting on the given condition associated with the write lock.