StampedLock Constructors
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.
Overloads
| Name | Description |
|---|---|
| StampedLock() |
Creates a new lock, initially in unlocked state. |
| StampedLock(IntPtr, JniHandleOwnership) |
Initializes a managed representation of a JNI object. This constructor is called by the runtime. |
StampedLock()
Creates a new lock, initially in unlocked state.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=24)]
public StampedLock();
- Attributes
Remarks
Creates a new lock, initially in unlocked state.
Java documentation for java.util.concurrent.locks.StampedLock.StampedLock().
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
StampedLock(IntPtr, JniHandleOwnership)
Initializes a managed representation of a JNI object. This constructor is called by the runtime.
protected StampedLock(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Locks.StampedLock : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Locks.StampedLock
Parameters
- transfer
- JniHandleOwnership
Indicates how to handle javaReference.
Remarks
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.