UniqueId

value class UniqueId(val value: Long = nextValue.incrementAndGet())

Thread safe, single process 64 bit unique id. Not to be used if unique multi-process id generation is required.

Constructors

Link copied to clipboard
constructor(value: Long = nextValue.incrementAndGet())

Properties

Link copied to clipboard
val value: Long