StampedLock.ReadLockCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Queries the number of read locks held for this lock.
public virtual int ReadLockCount { [Android.Runtime.Register("getReadLockCount", "()I", "GetGetReadLockCountHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getReadLockCount", "()I", "GetGetReadLockCountHandler", ApiSince=24)>]
member this.ReadLockCount : int
Property Value
the number of read locks held
- Attributes
Remarks
Queries the number of read locks held for this lock. This method is designed for use in monitoring system state, not for synchronization control.
Java documentation for java.util.concurrent.locks.StampedLock.getReadLockCount()
.
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.