Class AbstractQueuedSynchronizer
- Namespace
- Java.Util.Concurrent.Locks
- Assembly
- MASES.JNet.dll
public class AbstractQueuedSynchronizer : AbstractOwnableSynchronizer, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>AbstractQueuedSynchronizer
- 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
AbstractQueuedSynchronizer()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("AbstractQueuedSynchronizer 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 AbstractQueuedSynchronizer()
AbstractQueuedSynchronizer(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("AbstractQueuedSynchronizer 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 AbstractQueuedSynchronizer(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(int)
public void Acquire(int arg0)
Parameters
AcquireInterruptibly(int)
public void AcquireInterruptibly(int arg0)
Parameters
Exceptions
AcquireShared(int)
public void AcquireShared(int arg0)
Parameters
AcquireSharedInterruptibly(int)
public void AcquireSharedInterruptibly(int arg0)
Parameters
Exceptions
GetWaitQueueLength(ConditionObject)
public int GetWaitQueueLength(AbstractQueuedSynchronizer.ConditionObject arg0)
Parameters
Returns
GetWaitingThreads(ConditionObject)
public Collection<Thread> GetWaitingThreads(AbstractQueuedSynchronizer.ConditionObject arg0)
Parameters
Returns
HasContended()
public bool HasContended()
Returns
HasQueuedPredecessors()
public bool HasQueuedPredecessors()
Returns
HasQueuedThreads()
public bool HasQueuedThreads()
Returns
HasWaiters(ConditionObject)
public bool HasWaiters(AbstractQueuedSynchronizer.ConditionObject arg0)
Parameters
Returns
IsQueued(Thread)
public bool IsQueued(Thread arg0)
Parameters
Returns
Owns(ConditionObject)
public bool Owns(AbstractQueuedSynchronizer.ConditionObject arg0)
Parameters
Returns
Release(int)
public bool Release(int arg0)
Parameters
Returns
ReleaseShared(int)
public bool ReleaseShared(int arg0)
Parameters
Returns
TryAcquireNanos(int, long)
public bool TryAcquireNanos(int arg0, long arg1)
Parameters
Returns
Exceptions
TryAcquireSharedNanos(int, long)
public bool TryAcquireSharedNanos(int arg0, long arg1)