Interface ICounterManager
public interface ICounterManager
- Author:
- vlygeros
-
Method Summary
Modifier and TypeMethodDescriptionint
getCurrentCounter
(String counterType) Retrieves the counters value.int
nextCounter
(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
-