Class AtomicReferenceFieldUpdater<T, V>
- Namespace
- Java.Util.Concurrent.Atomic
- Assembly
- MASES.JNet.dll
public class AtomicReferenceFieldUpdater<T, V> : JVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
TV
- Inheritance
-
JVMBridgeCoreJVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>AtomicReferenceFieldUpdater<T, V>
- Implements
- Inherited Members
-
JVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>.IsAssignableFrom(IJavaType)JVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>.IsAssignableFrom<T>()JVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>.Execute<T>(params T[])JVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>.DynBridgeClazzJVMBridgeCore<AtomicReferenceFieldUpdater<T, V>>.BridgeClazzJVMBridgeCore.ReferenceEqualsJVM(IJVMBridgeBase, IJVMBridgeBase)JVMBridgeCore.RuntimeClassNameOf<T>()JVMBridgeCore.ClassNameOf<T>()JVMBridgeCore.ClassOf<T>()JVMBridgeCore.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeCore.Wraps<TNewClass>(IJavaObject)JVMBridgeCore.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeCore.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeCore.MonitorEnter()JVMBridgeCore.MonitorExit()JVMBridgeCore.IsInstanceOf(IJavaType)JVMBridgeCore.IsInstanceOf<T>()JVMBridgeCore.RuntimeIsInstanceOf<T>()JVMBridgeCore.CastTo<TNewClass>()JVMBridgeCore.CastDirect<TNewClass>()JVMBridgeCore.ToString()JVMBridgeCore.Equals(IJVMBridgeBase)JVMBridgeCore.GetHashCode()JVMBridgeCore.Notify()JVMBridgeCore.NotifyAll()JVMBridgeCore.Wait()JVMBridgeCore.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeCore.DynBridgeInstanceJVMBridgeCore.BridgeInstanceJVMBridgeCore.IsBridgeListener
- Extension Methods
Constructors
AtomicReferenceFieldUpdater(IJVMBridgeBaseInitializer)
Internal constructor: used internally from JCOBridge
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AtomicReferenceFieldUpdater(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
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
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
AccumulateAndGet(T, V, BinaryOperator<V>)
public V AccumulateAndGet(T arg0, V arg1, BinaryOperator<V> arg2)
Parameters
arg0TTarg1VVarg2BinaryOperator<V>
Returns
- V
V
CompareAndSet(T, V, V)
public bool CompareAndSet(T arg0, V arg1, V arg2)
Parameters
arg0TTarg1VVarg2VV
Returns
Get(T)
public V Get(T arg0)
Parameters
arg0TT
Returns
- V
V
GetAndAccumulate(T, V, BinaryOperator<V>)
public V GetAndAccumulate(T arg0, V arg1, BinaryOperator<V> arg2)
Parameters
arg0TTarg1VVarg2BinaryOperator<V>
Returns
- V
V
GetAndSet(T, V)
public V GetAndSet(T arg0, V arg1)
Parameters
arg0TTarg1VV
Returns
- V
V
GetAndUpdate(T, UnaryOperator<V>)
public V GetAndUpdate(T arg0, UnaryOperator<V> arg1)
Parameters
arg0TTarg1UnaryOperator<V>
Returns
- V
V
LazySet(T, V)
public void LazySet(T arg0, V arg1)
Parameters
arg0TTarg1VV
NewUpdater<U, W>(Class, Class, String)
public static AtomicReferenceFieldUpdater<U, W> NewUpdater<U, W>(Class arg0, Class arg1, String arg2)
Parameters
Returns
Type Parameters
UW
Set(T, V)
public void Set(T arg0, V arg1)
Parameters
arg0TTarg1VV
UpdateAndGet(T, UnaryOperator<V>)
public V UpdateAndGet(T arg0, UnaryOperator<V> arg1)
Parameters
arg0TTarg1UnaryOperator<V>
Returns
- V
V
WeakCompareAndSet(T, V, V)
public bool WeakCompareAndSet(T arg0, V arg1, V arg2)
Parameters
arg0TTarg1VVarg2VV
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
tAtomicReferenceFieldUpdater<T, V>