Interface PinotMeter

  • All Superinterfaces:
    PinotMetered, PinotMetric

    public interface PinotMeter
    extends PinotMetered
    A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughput.
    See Also:
    EMA
    • Method Detail

      • mark

        void mark()
        Mark the occurrence of an event.
      • mark

        void mark​(long unitCount)
        Mark the occurrence of a given number of events.
        Parameters:
        unitCount - the number of events
      • count

        long count()
        Returns the number of events which have been marked.
        Specified by:
        count in interface PinotMetered
        Returns:
        the number of events which have been marked