The methods of Java.Util.Concurrent.Atomic.AtomicLong are listed below. For a list of all members, see the AtomicLong Members list.
See Also: Inherited members from Java.Lang.Number
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. |