Click or drag to resize

AtomicLong Methods

The AtomicLong type exposes the following members.

Methods
  NameDescription
Public methodCompareAndSet
Public methodDecrementAndGet
Decrements and returns the value.
Public methodDecrementAndGet(Int64)
Increments and returns the value.
Public methodGet
Gets this instance.
Public methodGetAndIncrement
Increments and returns the previous value.
Public methodGetAndSet
Sets the value and returns the previous value as an atomic operation.
Public methodIncrementAndGet
Increments and returns the value.
Public methodIncrementAndGet(Int64)
Increments and returns the value.
Public methodSet
Sets the specified value.
Top
See Also