Udostępnij za pośrednictwem


ReentrantReadWriteLock.ReentrantReadLock Constructors

Definition

Overloads

ReentrantReadWriteLock.ReentrantReadLock(ReentrantReadWriteLock)

Constructor for use by subclasses.

ReentrantReadWriteLock.ReentrantReadLock(IntPtr, JniHandleOwnership)

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

ReentrantReadWriteLock.ReentrantReadLock(ReentrantReadWriteLock)

Constructor for use by subclasses.

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

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.ReadLock.ReentrantReadWriteLock$ReadLock(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.ReentrantReadLock(IntPtr, JniHandleOwnership)

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

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

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