StampedLock Constructors

Definition

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

javaReference
IntPtr

nativeint

A IntPtr containing a Java Native Interface (JNI) object reference.

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.

Applies to