- get
Gets the current value.
- incrementAndGet
Atomically increments by one the current value.
- <init>
Creates a new AtomicLong with the given initial value.
- set
Sets to the given value.
- addAndGet
Atomically adds the given value to the current value.
- getAndIncrement
Atomically increments by one the current value.
- compareAndSet
Atomically sets the value to the given updated value if the current value == the
expected value.
- decrementAndGet
Atomically decrements by one the current value.
- getAndSet
Atomically sets to the given value and returns the old value.
- longValue
Returns the value of this AtomicLong as a long.
- getAndAdd
Atomically adds the given value to the current value.
- getAndDecrement
Atomically decrements by one the current value.