The members of Java.Util.Concurrent.Atomic.AtomicLong are listed below.
See Also: Inherited members from Java.Lang.Number
Creates a new AtomicLong with initial value 0. | ||
Creates a new AtomicLong with the given initial value. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | AndDecrement | long. Atomically decrements by one the current value. |
[read-only] | AndIncrement | long. Atomically increments by one the current value. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AddAndGet(long)Atomically adds the given value to the current value. | ||
CompareAndSet(long, long)Atomically sets the value to the given updated value if the current value == the expected value. | ||
DecrementAndGet()Atomically decrements by one the current value. | ||
override | DoubleValue()Returns the value of this AtomicLong as a double after a widening primitive conversion. | |
override | FloatValue()Returns the value of this AtomicLong as a float after a widening primitive conversion. | |
Get()Gets the current value. | ||
GetAndAdd(long)Atomically adds the given value to the current value. | ||
GetAndSet(long)Atomically sets to the given value and returns the old value. | ||
IncrementAndGet()Atomically increments by one the current value. | ||
override | IntValue()Returns the value of this AtomicLong as an int after a narrowing primitive conversion. | |
LazySet(long)Eventually sets to the given value. | ||
override | LongValue()Returns the value of this AtomicLong as a long. | |
Set(long)Sets to the given value. | ||
WeakCompareAndSet(long, long)Atomically sets the value to the given updated value if the current value == the expected value. |