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