Class AtomicLong
- Namespace
- Java.Util.Concurrent.Atomic
- Assembly
- MASES.JNet.dll
public class AtomicLong : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>AtomicLong
- 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
AtomicLong()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public AtomicLong()
AtomicLong(long)
public AtomicLong(long arg0)
Parameters
AtomicLong(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 AtomicLong(params object[] args)
Parameters
args
object[]
Properties
Acquire
public long Acquire { get; }
Property Value
AndDecrement
public long AndDecrement { get; }
Property Value
AndIncrement
public long AndIncrement { get; }
Property Value
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
Opaque
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html#getOpaque() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html#setOpaque(long)
public long Opaque { get; set; }
Property Value
Plain
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html#getPlain() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/concurrent/atomic/AtomicLong.html#setPlain(long)
public long Plain { get; set; }
Property Value
Methods
AccumulateAndGet(long, LongBinaryOperator)
public long AccumulateAndGet(long arg0, LongBinaryOperator arg1)
Parameters
arg0
longarg1
LongBinaryOperator
Returns
AddAndGet(long)
public long AddAndGet(long arg0)
Parameters
Returns
CompareAndExchange(long, long)
public long CompareAndExchange(long arg0, long arg1)
Parameters
Returns
CompareAndExchangeAcquire(long, long)
public long CompareAndExchangeAcquire(long arg0, long arg1)
Parameters
Returns
CompareAndExchangeRelease(long, long)
public long CompareAndExchangeRelease(long arg0, long arg1)
Parameters
Returns
CompareAndSet(long, long)
public bool CompareAndSet(long arg0, long arg1)
Parameters
Returns
DecrementAndGet()
public long DecrementAndGet()
Returns
Get()
public long Get()
Returns
GetAndAccumulate(long, LongBinaryOperator)
public long GetAndAccumulate(long arg0, LongBinaryOperator arg1)
Parameters
arg0
longarg1
LongBinaryOperator
Returns
GetAndAdd(long)
public long GetAndAdd(long arg0)
Parameters
Returns
GetAndSet(long)
public long GetAndSet(long arg0)
Parameters
Returns
GetAndUpdate(LongUnaryOperator)
public long GetAndUpdate(LongUnaryOperator arg0)
Parameters
Returns
IncrementAndGet()
public long IncrementAndGet()
Returns
LazySet(long)
public void LazySet(long arg0)
Parameters
Set(long)
public void Set(long arg0)
Parameters
SetRelease(long)
public void SetRelease(long arg0)
Parameters
UpdateAndGet(LongUnaryOperator)
public long UpdateAndGet(LongUnaryOperator arg0)
Parameters
Returns
WeakCompareAndSetAcquire(long, long)
public bool WeakCompareAndSetAcquire(long arg0, long arg1)
Parameters
Returns
WeakCompareAndSetPlain(long, long)
public bool WeakCompareAndSetPlain(long arg0, long arg1)
Parameters
Returns
WeakCompareAndSetRelease(long, long)
public bool WeakCompareAndSetRelease(long arg0, long arg1)
Parameters
Returns
WeakCompareAndSetVolatile(long, long)
public bool WeakCompareAndSetVolatile(long arg0, long arg1)