Class SequentialIdGenerator


  • public class SequentialIdGenerator
    extends java.lang.Object
    • Constructor Detail

      • SequentialIdGenerator

        public SequentialIdGenerator​(Function4<java.lang.Integer,​java.lang.Integer> findFreeId,
                                     int initialValue,
                                     int minValidId,
                                     int maxValidId)
      • SequentialIdGenerator

        public SequentialIdGenerator​(Function4<java.lang.Integer,​java.lang.Integer> findFreeId,
                                     int minValidId,
                                     int maxValidId)
    • Method Detail

      • persistentGeneratorValue

        public int persistentGeneratorValue()
      • newId

        public int newId()
      • marshalledLength

        public int marshalledLength()
      • isDirty

        public boolean isDirty()
      • setClean

        public void setClean()