Interface CounterMeter

All Superinterfaces:
IpdMeter
All Known Implementing Classes:
CounterMeter.Noop

public interface CounterMeter extends IpdMeter
Interface representing a counter meter, which is a type of IpdMeter. A counter meter is used to count occurrences or events.

Values of the counter are always positive and can only be incremented. In external monitoring, counters can be used to calculate number of events in any time frame.

Since:
3.0.0
  • Field Details

  • Method Details

    • getTypeId

      default String getTypeId()
      Description copied from interface: IpdMeter
      Identifies type of the meter.
      Specified by:
      getTypeId in interface IpdMeter
      Returns:
      Type ID of the meter
    • increment

      default void increment()
    • increment

      void increment(long value)