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 Summary
Modifier and TypeMethodDescriptionvoidclear()clears all generations mappingsgetGenerations(String tenant) gets all collected generations for given tenantlong[]getGenerations(KEY[] type, String tenant) gets a latest generation for given typevoidincrementGeneration(KEY type, String tenant) increments a generation by one for given type
-
Method Details
-
getGenerations
gets a latest generation for given type -
getGenerations
gets all collected generations for given tenant -
incrementGeneration
increments a generation by one for given type -
clear
void clear()clears all generations mappings
-