org.mapdb / Atomic / Long / getAndAdd

getAndAdd

fun getAndAdd(delta: Long): Long

Atomically adds the given value to the current value.

Parameters

delta - the value to add

Return
the previous value