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 Details

    • getGenerations

      long[] getGenerations(KEY[] type, String tenant)
      gets a latest generation for given type
    • getGenerations

      Map<KEY,Long> getGenerations(String tenant)
      gets all collected generations for given tenant
    • incrementGeneration

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

      void clear()
      clears all generations mappings