Class AtomicReferenceFieldUpdater<T, V>
- Namespace
- Java.Util.Concurrent.Atomic
- Assembly
- MASES.JNet.dll
public class AtomicReferenceFieldUpdater<T, V> : JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
T
V
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>AtomicReferenceFieldUpdater<T, V>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.IsAssignableFrom(IJavaType)JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.IsAssignableFrom<T>()JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.Execute<T>(params T[])JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.DynBridgeClazzJVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.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
AtomicReferenceFieldUpdater()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("AtomicReferenceFieldUpdater 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 AtomicReferenceFieldUpdater()
AtomicReferenceFieldUpdater(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("AtomicReferenceFieldUpdater 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 AtomicReferenceFieldUpdater(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
Methods
AccumulateAndGet(T, V, BinaryOperator<V>)
public V AccumulateAndGet(T arg0, V arg1, BinaryOperator<V> arg2)
Parameters
arg0
TT
arg1
VV
arg2
BinaryOperator<V>
Returns
- V
V
CompareAndSet(T, V, V)
public bool CompareAndSet(T arg0, V arg1, V arg2)
Parameters
arg0
TT
arg1
VV
arg2
VV
Returns
Get(T)
public V Get(T arg0)
Parameters
arg0
TT
Returns
- V
V
GetAndAccumulate(T, V, BinaryOperator<V>)
public V GetAndAccumulate(T arg0, V arg1, BinaryOperator<V> arg2)
Parameters
arg0
TT
arg1
VV
arg2
BinaryOperator<V>
Returns
- V
V
GetAndSet(T, V)
public V GetAndSet(T arg0, V arg1)
Parameters
arg0
TT
arg1
VV
Returns
- V
V
GetAndUpdate(T, UnaryOperator<V>)
public V GetAndUpdate(T arg0, UnaryOperator<V> arg1)
Parameters
arg0
TT
arg1
UnaryOperator<V>
Returns
- V
V
LazySet(T, V)
public void LazySet(T arg0, V arg1)
Parameters
arg0
TT
arg1
VV
NewUpdater<U, W>(Class, Class, String)
public static AtomicReferenceFieldUpdater<U, W> NewUpdater<U, W>(Class arg0, Class arg1, String arg2)
Parameters
Returns
Type Parameters
U
W
Set(T, V)
public void Set(T arg0, V arg1)
Parameters
arg0
TT
arg1
VV
UpdateAndGet(T, UnaryOperator<V>)
public V UpdateAndGet(T arg0, UnaryOperator<V> arg1)
Parameters
arg0
TT
arg1
UnaryOperator<V>
Returns
- V
V
WeakCompareAndSet(T, V, V)
public bool WeakCompareAndSet(T arg0, V arg1, V arg2)
Parameters
arg0
TT
arg1
VV
arg2
VV
Returns
Operators
implicit operator AtomicReferenceFieldUpdater(AtomicReferenceFieldUpdater<T, V>)
Converter from AtomicReferenceFieldUpdater<T, V> to AtomicReferenceFieldUpdater
public static implicit operator AtomicReferenceFieldUpdater(AtomicReferenceFieldUpdater<T, V> t)
Parameters
t
AtomicReferenceFieldUpdater<T, V>