Table of Contents

Class AtomicLong

Namespace
Java.Util.Concurrent.Atomic
Assembly
MASES.JNet.dll
public class AtomicLong : Number, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
AtomicLong
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.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

AtomicLong()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public AtomicLong()

AtomicLong(long)

public AtomicLong(long arg0)

Parameters

arg0 long

long

AtomicLong(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 AtomicLong(params object[] args)

Parameters

args object[]

Properties

Acquire

public long Acquire { get; }

Property Value

long

AndDecrement

public long AndDecrement { get; }

Property Value

long

AndIncrement

public long AndIncrement { get; }

Property Value

long

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

Opaque

public long Opaque { get; set; }

Property Value

long

Plain

public long Plain { get; set; }

Property Value

long

Methods

AccumulateAndGet(long, LongBinaryOperator)

public long AccumulateAndGet(long arg0, LongBinaryOperator arg1)

Parameters

arg0 long

long

arg1 LongBinaryOperator

LongBinaryOperator

Returns

long

long

AddAndGet(long)

public long AddAndGet(long arg0)

Parameters

arg0 long

long

Returns

long

long

CompareAndExchange(long, long)

public long CompareAndExchange(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

long

long

CompareAndExchangeAcquire(long, long)

public long CompareAndExchangeAcquire(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

long

long

CompareAndExchangeRelease(long, long)

public long CompareAndExchangeRelease(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

long

long

CompareAndSet(long, long)

public bool CompareAndSet(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

DecrementAndGet()

public long DecrementAndGet()

Returns

long

long

Get()

public long Get()

Returns

long

long

GetAndAccumulate(long, LongBinaryOperator)

public long GetAndAccumulate(long arg0, LongBinaryOperator arg1)

Parameters

arg0 long

long

arg1 LongBinaryOperator

LongBinaryOperator

Returns

long

long

GetAndAdd(long)

public long GetAndAdd(long arg0)

Parameters

arg0 long

long

Returns

long

long

GetAndSet(long)

public long GetAndSet(long arg0)

Parameters

arg0 long

long

Returns

long

long

GetAndUpdate(LongUnaryOperator)

public long GetAndUpdate(LongUnaryOperator arg0)

Parameters

arg0 LongUnaryOperator

LongUnaryOperator

Returns

long

long

IncrementAndGet()

public long IncrementAndGet()

Returns

long

long

LazySet(long)

public void LazySet(long arg0)

Parameters

arg0 long

long

Set(long)

public void Set(long arg0)

Parameters

arg0 long

long

SetRelease(long)

public void SetRelease(long arg0)

Parameters

arg0 long

long

UpdateAndGet(LongUnaryOperator)

public long UpdateAndGet(LongUnaryOperator arg0)

Parameters

arg0 LongUnaryOperator

LongUnaryOperator

Returns

long

long

WeakCompareAndSetAcquire(long, long)

public bool WeakCompareAndSetAcquire(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

WeakCompareAndSetPlain(long, long)

public bool WeakCompareAndSetPlain(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

WeakCompareAndSetRelease(long, long)

public bool WeakCompareAndSetRelease(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool

WeakCompareAndSetVolatile(long, long)

public bool WeakCompareAndSetVolatile(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Returns

bool

bool