Table of Contents

Class ReentrantReadWriteLock

Namespace
Java.Util.Concurrent.Locks
Assembly
MASES.JNet.dll
public class ReentrantReadWriteLock : JVMBridgeBase<ReentrantReadWriteLock>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<ReentrantReadWriteLock>
ReentrantReadWriteLock
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<ReentrantReadWriteLock>.IsAssignableFrom(IJavaType)
JVMBridgeBase<ReentrantReadWriteLock>.IsAssignableFrom<T>()
JVMBridgeBase<ReentrantReadWriteLock>.Execute<T>(params T[])
JVMBridgeBase<ReentrantReadWriteLock>.DynBridgeClazz
JVMBridgeBase<ReentrantReadWriteLock>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

ReentrantReadWriteLock()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public ReentrantReadWriteLock()

ReentrantReadWriteLock(bool)

public ReentrantReadWriteLock(bool arg0)

Parameters

arg0 bool

bool

ReentrantReadWriteLock(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public ReentrantReadWriteLock(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

QueueLength

public int QueueLength { get; }

Property Value

int

ReadHoldCount

public int ReadHoldCount { get; }

Property Value

int

ReadLockCount

public int ReadLockCount { get; }

Property Value

int

WriteHoldCount

public int WriteHoldCount { get; }

Property Value

int

Methods

GetWaitQueueLength(Condition)

public int GetWaitQueueLength(Condition arg0)

Parameters

arg0 Condition

Condition

Returns

int

int

HasQueuedThread(Thread)

public bool HasQueuedThread(Thread arg0)

Parameters

arg0 Thread

Thread

Returns

bool

bool

HasQueuedThreads()

public bool HasQueuedThreads()

Returns

bool

bool

HasWaiters(Condition)

public bool HasWaiters(Condition arg0)

Parameters

arg0 Condition

Condition

Returns

bool

bool

IsFair()

public bool IsFair()

Returns

bool

bool

IsWriteLocked()

public bool IsWriteLocked()

Returns

bool

bool

IsWriteLockedByCurrentThread()

public bool IsWriteLockedByCurrentThread()

Returns

bool

bool

ReadLockMethod()

public Lock ReadLockMethod()

Returns

Lock

Lock

WriteLockMethod()

public Lock WriteLockMethod()

Returns

Lock

Lock

Operators

implicit operator Serializable(ReentrantReadWriteLock)

public static implicit operator Serializable(ReentrantReadWriteLock t)

Parameters

t ReentrantReadWriteLock

Returns

Serializable

implicit operator ReadWriteLock(ReentrantReadWriteLock)

public static implicit operator ReadWriteLock(ReentrantReadWriteLock t)

Parameters

t ReentrantReadWriteLock

Returns

ReadWriteLock