fun getAndSet(newValue: Long): Long
Atomically sets to the given value and returns the old value.
newValue
Return the previous value