com.softwaremill.id
Generates time-based unique ids. Each node should have a different workerId.
workerId
*Synchronizes* to assure thread-safety!
An id base at the given timestamp.
An id base at the given timestamp. Should be smaller than all ids generated at that time, and bigger than all ids generated before that time.
Generates time-based unique ids. Each node should have a different
workerId
.*Synchronizes* to assure thread-safety!