Interface IMutableStatisticsHandlerKeyedCounter

All Superinterfaces:
IStatisticsHandler, IStatisticsHandlerKeyed, IStatisticsHandlerKeyedCounter
All Known Implementing Classes:
StatisticsHandlerKeyedCounter

public interface IMutableStatisticsHandlerKeyedCounter extends IStatisticsHandlerKeyedCounter
Statistics handler for a keyed counter.
Author:
Philip Helger
  • Method Details

    • increment

      default void increment(@Nullable String sKey)
      Increment by 1
      Parameters:
      sKey - The key to be incremented.
    • increment

      void increment(@Nullable String sKey, long nByHowMany)
      Increment by n
      Parameters:
      sKey - The key to be incremented.
      nByHowMany - The amount to increment. May be negative as well