public class SimpleIdGenerator extends Object implements IdGenerator
IdGenerator
that starts at 1, increments up to
Long.MAX_VALUE
, and then rolls over.Constructor and Description |
---|
SimpleIdGenerator() |
public UUID generateId()
IdGenerator
generateId
in interface IdGenerator