Table of Contents

Class AbstractQueuedLongSynchronizer

Namespace
Java.Util.Concurrent.Locks
Assembly
MASES.JNet.dll
public class AbstractQueuedLongSynchronizer : AbstractOwnableSynchronizer, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
AbstractQueuedLongSynchronizer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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

AbstractQueuedLongSynchronizer()

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

[Obsolete("AbstractQueuedLongSynchronizer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractQueuedLongSynchronizer()

AbstractQueuedLongSynchronizer(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

[Obsolete("AbstractQueuedLongSynchronizer class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AbstractQueuedLongSynchronizer(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

ExclusiveQueuedThreads

public Collection<Thread> ExclusiveQueuedThreads { get; }

Property Value

Collection<Thread>

FirstQueuedThread

public Thread FirstQueuedThread { get; }

Property Value

Thread

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

QueuedThreads

public Collection<Thread> QueuedThreads { get; }

Property Value

Collection<Thread>

SharedQueuedThreads

public Collection<Thread> SharedQueuedThreads { get; }

Property Value

Collection<Thread>

Methods

Acquire(long)

public void Acquire(long arg0)

Parameters

arg0 long

long

AcquireInterruptibly(long)

public void AcquireInterruptibly(long arg0)

Parameters

arg0 long

long

Exceptions

InterruptedException

AcquireShared(long)

public void AcquireShared(long arg0)

Parameters

arg0 long

long

AcquireSharedInterruptibly(long)

public void AcquireSharedInterruptibly(long arg0)

Parameters

arg0 long

long

Exceptions

InterruptedException

GetWaitQueueLength(ConditionObject)

public int GetWaitQueueLength(AbstractQueuedLongSynchronizer.ConditionObject arg0)

Parameters

arg0 AbstractQueuedLongSynchronizer.ConditionObject

AbstractQueuedLongSynchronizer.ConditionObject

Returns

int

int

GetWaitingThreads(ConditionObject)

public Collection<Thread> GetWaitingThreads(AbstractQueuedLongSynchronizer.ConditionObject arg0)

Parameters

arg0 AbstractQueuedLongSynchronizer.ConditionObject

AbstractQueuedLongSynchronizer.ConditionObject

Returns

Collection<Thread>

Collection

HasContended()

public bool HasContended()

Returns

bool

bool

HasQueuedPredecessors()

public bool HasQueuedPredecessors()

Returns

bool

bool

HasQueuedThreads()

public bool HasQueuedThreads()

Returns

bool

bool

HasWaiters(ConditionObject)

public bool HasWaiters(AbstractQueuedLongSynchronizer.ConditionObject arg0)

Parameters

arg0 AbstractQueuedLongSynchronizer.ConditionObject

AbstractQueuedLongSynchronizer.ConditionObject

Returns

bool

bool

IsQueued(Thread)

public bool IsQueued(Thread arg0)

Parameters

arg0 Thread

Thread

Returns

bool

bool

Owns(ConditionObject)

public bool Owns(AbstractQueuedLongSynchronizer.ConditionObject arg0)

Parameters

arg0 AbstractQueuedLongSynchronizer.ConditionObject

AbstractQueuedLongSynchronizer.ConditionObject

Returns

bool

bool

Release(long)

public bool Release(long arg0)

Parameters

arg0 long

long

Returns

bool

bool

ReleaseShared(long)

public bool ReleaseShared(long arg0)

Parameters

arg0 long

long

Returns

bool

bool

TryAcquireNanos(long, long)

public bool TryAcquireNanos(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

Exceptions

InterruptedException

TryAcquireSharedNanos(long, long)

public bool TryAcquireSharedNanos(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

Exceptions

InterruptedException