Interface ICounterManager


public interface ICounterManager
Author:
vlygeros
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves the counters value.
    int
    nextCounter(String counterType)
    Retrieves the counter and increments its value.
  • Method Details

    • nextCounter

      int nextCounter(String counterType)
      Retrieves the counter and increments its value.
      Parameters:
      counterType - The type of counter.
      Returns:
      The new value to use.
    • getCurrentCounter

      int getCurrentCounter(String counterType)
      Retrieves the counters value.
      Parameters:
      counterType - The type of counter.
      Returns:
      The current value