Table of Contents

Class AtomicReference

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicReference : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ISerializable
Inheritance
AtomicReference
Implements
Extension Methods

Constructors

AtomicReference()

public AtomicReference()

AtomicReference(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public AtomicReference(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

AtomicReference(object)

public AtomicReference(object arg0)

Parameters

arg0 object

object

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

AccumulateAndGet(object, BinaryOperator)

public object AccumulateAndGet(object arg0, BinaryOperator arg1)

Parameters

arg0 object

object

arg1 BinaryOperator

BinaryOperator

Returns

object

object

CompareAndSet(object, object)

public bool CompareAndSet(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool

CreatePoolableInstance()

HPA initializer for AtomicReference()

public static AtomicReference CreatePoolableInstance()

Returns

AtomicReference

CreatePoolableInstance(object)

HPA initializer for AtomicReference(object arg0)

public static AtomicReference CreatePoolableInstance(object arg0)

Parameters

arg0 object

Returns

AtomicReference

Get()

public object Get()

Returns

object

object

GetAndAccumulate(object, BinaryOperator)

public object GetAndAccumulate(object arg0, BinaryOperator arg1)

Parameters

arg0 object

object

arg1 BinaryOperator

BinaryOperator

Returns

object

object

GetAndSet(object)

public object GetAndSet(object arg0)

Parameters

arg0 object

object

Returns

object

object

GetAndUpdate(UnaryOperator)

public object GetAndUpdate(UnaryOperator arg0)

Parameters

arg0 UnaryOperator

UnaryOperator

Returns

object

object

LazySet(object)

public void LazySet(object arg0)

Parameters

arg0 object

object

Set(object)

public void Set(object arg0)

Parameters

arg0 object

object

UpdateAndGet(UnaryOperator)

public object UpdateAndGet(UnaryOperator arg0)

Parameters

arg0 UnaryOperator

UnaryOperator

Returns

object

object

WeakCompareAndSet(object, object)

public bool WeakCompareAndSet(object arg0, object arg1)

Parameters

arg0 object

object

arg1 object

object

Returns

bool

bool