The members of Java.Util.Concurrent.Locks.ReentrantLock are listed below.
See Also: Inherited members from Java.Lang.Object
Public Constructors
| | Creates an instance of ReentrantLock. |
| | Creates an instance of ReentrantLock with the
given fairness policy. |
Protected Constructors
| | A constructor used when creating managed representations of JNI objects; called by the runtime. |
Public Properties
[read-only] | HasQueuedThreads | bool. Queries whether any threads are waiting to acquire this lock. |
[read-only] | HoldCount | int. Queries the number of holds on this lock by the current thread. |
[read-only] | IsFair | bool. Returns true if this lock has fairness set true. |
[read-only] | IsHeldByCurrentThread | bool. Queries if this lock is held by the current thread. |
[read-only] | IsLocked | bool. Queries if this lock is held by any thread. |
[read-only] | QueueLength | int. Returns an estimate of the number of threads waiting to
acquire this lock. |
Protected Properties
[read-only] | Owner | Java.Lang.Thread. Returns the thread that currently owns this lock, or
null if not owned. |
[read-only] | QueuedThreads | ICollection<Java.Lang.Thread>. Returns a collection containing threads that may be waiting to
acquire this lock. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Public Methods
Protected Methods