Condividi tramite


ReentrantReadWriteLock.ReentrantWriteLock Constructors

Definition

Overloads

ReentrantReadWriteLock.ReentrantWriteLock(ReentrantReadWriteLock)

Constructor for use by subclasses.

ReentrantReadWriteLock.ReentrantWriteLock(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ReentrantReadWriteLock.ReentrantWriteLock(ReentrantReadWriteLock)

Constructor for use by subclasses.

[Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/locks/ReentrantReadWriteLock;)V", "")]
protected ReentrantWriteLock (Java.Util.Concurrent.Locks.ReentrantReadWriteLock? lock);
[<Android.Runtime.Register(".ctor", "(Ljava/util/concurrent/locks/ReentrantReadWriteLock;)V", "")>]
new Java.Util.Concurrent.Locks.ReentrantReadWriteLock.ReentrantWriteLock : Java.Util.Concurrent.Locks.ReentrantReadWriteLock -> Java.Util.Concurrent.Locks.ReentrantReadWriteLock.ReentrantWriteLock

Parameters

lock
ReentrantReadWriteLock

the outer lock object

Attributes

Exceptions

if the lock is null

Remarks

Constructor for use by subclasses.

Java documentation for java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock.ReentrantReadWriteLock$WriteLock(java.util.concurrent.locks.ReentrantReadWriteLock).

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

ReentrantReadWriteLock.ReentrantWriteLock(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ReentrantWriteLock (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.Locks.ReentrantReadWriteLock.ReentrantWriteLock : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.Locks.ReentrantReadWriteLock.ReentrantWriteLock

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating 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