Table of Contents

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
JVMBridgeBase
JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>
AtomicReferenceFieldUpdater<T, V>
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
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>>.DynBridgeClazz
JVMBridgeBase<AtomicReferenceFieldUpdater<T, V>>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AccumulateAndGet(T, V, BinaryOperator<V>)

public V AccumulateAndGet(T arg0, V arg1, BinaryOperator<V> arg2)

Parameters

arg0 T

T

arg1 V

V

arg2 BinaryOperator<V>

BinaryOperator

Returns

V

V

CompareAndSet(T, V, V)

public bool CompareAndSet(T arg0, V arg1, V arg2)

Parameters

arg0 T

T

arg1 V

V

arg2 V

V

Returns

bool

bool

Get(T)

public V Get(T arg0)

Parameters

arg0 T

T

Returns

V

V

GetAndAccumulate(T, V, BinaryOperator<V>)

public V GetAndAccumulate(T arg0, V arg1, BinaryOperator<V> arg2)

Parameters

arg0 T

T

arg1 V

V

arg2 BinaryOperator<V>

BinaryOperator

Returns

V

V

GetAndSet(T, V)

public V GetAndSet(T arg0, V arg1)

Parameters

arg0 T

T

arg1 V

V

Returns

V

V

GetAndUpdate(T, UnaryOperator<V>)

public V GetAndUpdate(T arg0, UnaryOperator<V> arg1)

Parameters

arg0 T

T

arg1 UnaryOperator<V>

UnaryOperator

Returns

V

V

LazySet(T, V)

public void LazySet(T arg0, V arg1)

Parameters

arg0 T

T

arg1 V

V

NewUpdater<U, W>(Class, Class, String)

public static AtomicReferenceFieldUpdater<U, W> NewUpdater<U, W>(Class arg0, Class arg1, String arg2)

Parameters

arg0 Class

Class

arg1 Class

Class

arg2 String

String

Returns

AtomicReferenceFieldUpdater<U, W>

AtomicReferenceFieldUpdater

Type Parameters

U
W

Set(T, V)

public void Set(T arg0, V arg1)

Parameters

arg0 T

T

arg1 V

V

UpdateAndGet(T, UnaryOperator<V>)

public V UpdateAndGet(T arg0, UnaryOperator<V> arg1)

Parameters

arg0 T

T

arg1 UnaryOperator<V>

UnaryOperator

Returns

V

V

WeakCompareAndSet(T, V, V)

public bool WeakCompareAndSet(T arg0, V arg1, V arg2)

Parameters

arg0 T

T

arg1 V

V

arg2 V

V

Returns

bool

bool

Operators

implicit operator AtomicReferenceFieldUpdater(AtomicReferenceFieldUpdater<T, V>)

public static implicit operator AtomicReferenceFieldUpdater(AtomicReferenceFieldUpdater<T, V> t)

Parameters

t AtomicReferenceFieldUpdater<T, V>

Returns

AtomicReferenceFieldUpdater