Interface IMutableStatisticsHandlerCounter

All Superinterfaces:
IStatisticsHandler, IStatisticsHandlerCounter
All Known Implementing Classes:
StatisticsHandlerCounter

public interface IMutableStatisticsHandlerCounter extends IStatisticsHandlerCounter
Statistics handler for a counter.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Increment the counter by 1
    void
    increment(long nByHowMany)
    Increment the counter by an arbitrary number

    Methods inherited from interface com.helger.commons.statistics.IStatisticsHandler

    getInvocationCount

    Methods inherited from interface com.helger.commons.statistics.IStatisticsHandlerCounter

    getCount
  • Method Details

    • increment

      default void increment()
      Increment the counter by 1
    • increment

      void increment(long nByHowMany)
      Increment the counter by an arbitrary number
      Parameters:
      nByHowMany - The number to be added. May be negative as well.