Interface ICounterManager
public interface ICounterManager
- Author:
- vlygeros
-
Method Summary
Modifier and TypeMethodDescriptionintgetCurrentCounter(String counterType) Retrieves the counters value.intnextCounter(String counterType) Retrieves the counter and increments its value.
-
Method Details
-
nextCounter
Retrieves the counter and increments its value.- Parameters:
counterType- The type of counter.- Returns:
- The new value to use.
-
getCurrentCounter
Retrieves the counters value.- Parameters:
counterType- The type of counter.- Returns:
- The current value
-