Class UuidIdGenerator


  • @Component
    public class UuidIdGenerator
    extends Object
    IdGenerator implementation based on the current time and the ethernet address of the machine it is running on.
    Author:
    Tijs Rademakers, Joram Barrez
    • Field Detail

      • timeBasedGenerator

        protected static volatile com.fasterxml.uuid.impl.TimeBasedGenerator timeBasedGenerator
    • Constructor Detail

      • UuidIdGenerator

        public UuidIdGenerator()
    • Method Detail

      • ensureGeneratorInitialized

        protected void ensureGeneratorInitialized()
      • generateId

        public String generateId()