Class AtomicReference<V>
- Namespace
- Java.Util.Concurrent.Atomic
- Assembly
- MASES.JNet.dll
public class AtomicReference<V> : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Type Parameters
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>AtomicReference<V>
- 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(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[]
AtomicReference(V)
public AtomicReference(V arg0)
Parameters
arg0
VV
Properties
Acquire
public V Acquire { get; }
Property Value
- V
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 V Opaque { get; set; }
Property Value
- V
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 V Plain { get; set; }
Property Value
- V
Methods
AccumulateAndGet(V, BinaryOperator<V>)
public V AccumulateAndGet(V arg0, BinaryOperator<V> arg1)
Parameters
arg0
VV
arg1
BinaryOperator<V>
Returns
- V
V
CompareAndExchange(V, V)
public V CompareAndExchange(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
- V
V
CompareAndExchangeAcquire(V, V)
public V CompareAndExchangeAcquire(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
- V
V
CompareAndExchangeRelease(V, V)
public V CompareAndExchangeRelease(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
- V
V
CompareAndSet(V, V)
public bool CompareAndSet(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
Get()
public V Get()
Returns
- V
V
GetAndAccumulate(V, BinaryOperator<V>)
public V GetAndAccumulate(V arg0, BinaryOperator<V> arg1)
Parameters
arg0
VV
arg1
BinaryOperator<V>
Returns
- V
V
GetAndSet(V)
public V GetAndSet(V arg0)
Parameters
arg0
VV
Returns
- V
V
GetAndUpdate(UnaryOperator<V>)
public V GetAndUpdate(UnaryOperator<V> arg0)
Parameters
arg0
UnaryOperator<V>
Returns
- V
V
LazySet(V)
public void LazySet(V arg0)
Parameters
arg0
VV
Set(V)
public void Set(V arg0)
Parameters
arg0
VV
SetRelease(V)
public void SetRelease(V arg0)
Parameters
arg0
VV
UpdateAndGet(UnaryOperator<V>)
public V UpdateAndGet(UnaryOperator<V> arg0)
Parameters
arg0
UnaryOperator<V>
Returns
- V
V
WeakCompareAndSetAcquire(V, V)
public bool WeakCompareAndSetAcquire(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
WeakCompareAndSetPlain(V, V)
public bool WeakCompareAndSetPlain(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
WeakCompareAndSetRelease(V, V)
public bool WeakCompareAndSetRelease(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
WeakCompareAndSetVolatile(V, V)
public bool WeakCompareAndSetVolatile(V arg0, V arg1)
Parameters
arg0
VV
arg1
VV
Returns
Operators
implicit operator AtomicReference(AtomicReference<V>)
Converter from AtomicReference<V> to AtomicReference
public static implicit operator AtomicReference(AtomicReference<V> t)
Parameters
t
AtomicReference<V>