Interface GenerationalCounterService<KEY>

  • All Known Implementing Classes:
    TypeCodeGenerationalCounterService

    public interface GenerationalCounterService<KEY>
    Generation conuter service. Holds a latest generation of the every platform type mapped by its internal typecode.
    Since:
    5.0
    • Method Detail

      • getGenerations

        long[] getGenerations​(KEY[] type,
                              java.lang.String tenant)
        gets a latest generation for given type
      • incrementGeneration

        void incrementGeneration​(KEY type,
                                 java.lang.String tenant)
        increments a generation by one for given type
      • clear

        void clear()
        clears all generations mappings