Class StrongUuidGenerator

  • All Implemented Interfaces:
    IdGenerator

    public class StrongUuidGenerator
    extends java.lang.Object
    implements IdGenerator
    IdGenerator implementation based on the current time and the ethernet address of the machine it is running on.
    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static com.fasterxml.uuid.impl.TimeBasedGenerator timeBasedGenerator  
    • Field Detail

      • timeBasedGenerator

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

      • StrongUuidGenerator

        public StrongUuidGenerator()
    • Method Detail

      • ensureGeneratorInitialized

        protected void ensureGeneratorInitialized()
      • getNextId

        public java.lang.String getNextId()
        Specified by:
        getNextId in interface IdGenerator