Class AbstractQueuedLongSynchronizer
- Namespace
- Java.Util.Concurrent.Locks
- Assembly
- MASES.JNet.dll
public class AbstractQueuedLongSynchronizer : AbstractOwnableSynchronizer, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>AbstractQueuedLongSynchronizer
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
ExclusiveQueuedThreads
public Collection<Thread> ExclusiveQueuedThreads { get; }
Property Value
FirstQueuedThread
public Thread FirstQueuedThread { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
QueueLength
public int QueueLength { get; }
Property Value
QueuedThreads
public Collection<Thread> QueuedThreads { get; }
Property Value
SharedQueuedThreads
public Collection<Thread> SharedQueuedThreads { get; }
Property Value
Methods
Acquire(long)
public void Acquire(long arg0)
Parameters
AcquireInterruptibly(long)
public void AcquireInterruptibly(long arg0)
Parameters
Exceptions
AcquireShared(long)
public void AcquireShared(long arg0)
Parameters
AcquireSharedInterruptibly(long)
public void AcquireSharedInterruptibly(long arg0)
Parameters
Exceptions
GetWaitQueueLength(ConditionObject)
public int GetWaitQueueLength(AbstractQueuedLongSynchronizer.ConditionObject arg0)
Parameters
Returns
GetWaitingThreads(ConditionObject)
public Collection<Thread> GetWaitingThreads(AbstractQueuedLongSynchronizer.ConditionObject arg0)
Parameters
Returns
HasContended()
public bool HasContended()
Returns
HasQueuedPredecessors()
public bool HasQueuedPredecessors()
Returns
HasQueuedThreads()
public bool HasQueuedThreads()
Returns
HasWaiters(ConditionObject)
public bool HasWaiters(AbstractQueuedLongSynchronizer.ConditionObject arg0)
Parameters
Returns
IsQueued(Thread)
public bool IsQueued(Thread arg0)
Parameters
Returns
Owns(ConditionObject)
public bool Owns(AbstractQueuedLongSynchronizer.ConditionObject arg0)
Parameters
Returns
Release(long)
public bool Release(long arg0)
Parameters
Returns
ReleaseShared(long)
public bool ReleaseShared(long arg0)
Parameters
Returns
TryAcquireNanos(long, long)
public bool TryAcquireNanos(long arg0, long arg1)
Parameters
Returns
Exceptions
TryAcquireSharedNanos(long, long)
public bool TryAcquireSharedNanos(long arg0, long arg1)