Class StampedLock
- Namespace
- Java.Util.Concurrent.Locks
- Assembly
- MASES.JNet.dll
public class StampedLock : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>StampedLock
- 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
StampedLock()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public StampedLock()
StampedLock(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 StampedLock(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
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
ReadLockCount
public int ReadLockCount { get; }
Property Value
Methods
AsReadLock()
public Lock AsReadLock()
Returns
AsReadWriteLock()
public ReadWriteLock AsReadWriteLock()
Returns
AsWriteLock()
public Lock AsWriteLock()
Returns
IsLockStamp(long)
public static bool IsLockStamp(long arg0)
Parameters
Returns
IsOptimisticReadStamp(long)
public static bool IsOptimisticReadStamp(long arg0)
Parameters
Returns
IsReadLockStamp(long)
public static bool IsReadLockStamp(long arg0)
Parameters
Returns
IsReadLocked()
public bool IsReadLocked()
Returns
IsWriteLockStamp(long)
public static bool IsWriteLockStamp(long arg0)
Parameters
Returns
IsWriteLocked()
public bool IsWriteLocked()
Returns
ReadLock()
public long ReadLock()
Returns
ReadLockInterruptibly()
public long ReadLockInterruptibly()
Returns
Exceptions
TryConvertToOptimisticRead(long)
public long TryConvertToOptimisticRead(long arg0)
Parameters
Returns
TryConvertToReadLock(long)
public long TryConvertToReadLock(long arg0)
Parameters
Returns
TryConvertToWriteLock(long)
public long TryConvertToWriteLock(long arg0)
Parameters
Returns
TryOptimisticRead()
public long TryOptimisticRead()
Returns
TryReadLock()
public long TryReadLock()
Returns
TryReadLock(long, TimeUnit)
public long TryReadLock(long arg0, TimeUnit arg1)
Parameters
Returns
Exceptions
TryUnlockRead()
public bool TryUnlockRead()
Returns
TryUnlockWrite()
public bool TryUnlockWrite()
Returns
TryWriteLock()
public long TryWriteLock()
Returns
TryWriteLock(long, TimeUnit)
public long TryWriteLock(long arg0, TimeUnit arg1)
Parameters
Returns
Exceptions
Unlock(long)
public void Unlock(long arg0)
Parameters
UnlockRead(long)
public void UnlockRead(long arg0)
Parameters
UnlockWrite(long)
public void UnlockWrite(long arg0)
Parameters
Validate(long)
public bool Validate(long arg0)
Parameters
Returns
WriteLock()
public long WriteLock()
Returns
WriteLockInterruptibly()
public long WriteLockInterruptibly()