org.mapdb / Atomic / Long / getAndIncrement

getAndIncrement

fun getAndIncrement(): Long

Atomically increments by one the current value.

Return
the previous value