Interface PinotMetered

    • Method Summary

      Modifier and Type Method Description
      long count()
      Returns the number of events which have been marked.
      String eventType()
      Returns the type of events the meter is measuring.
      double fifteenMinuteRate()
      Returns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
      double fiveMinuteRate()
      Returns the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
      Object getMetered()  
      double meanRate()
      Returns the mean rate at which events have occurred since the meter was created.
      double oneMinuteRate()
      Returns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
      TimeUnit rateUnit()
      Returns the meter's rate unit.
    • Method Detail

      • getMetered

        Object getMetered()
      • rateUnit

        TimeUnit rateUnit()
        Returns the meter's rate unit.
        Returns:
        the meter's rate unit
      • eventType

        String eventType()
        Returns the type of events the meter is measuring.
        Returns:
        the meter's event type
      • count

        long count()
        Returns the number of events which have been marked.
        Returns:
        the number of events which have been marked
      • fifteenMinuteRate

        double fifteenMinuteRate()
        Returns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.

        This rate has the same exponential decay factor as the fifteen-minute load average in the top Unix command.

        Returns:
        the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
      • fiveMinuteRate

        double fiveMinuteRate()
        Returns the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.

        This rate has the same exponential decay factor as the five-minute load average in the top Unix command.

        Returns:
        the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created
      • meanRate

        double meanRate()
        Returns the mean rate at which events have occurred since the meter was created.
        Returns:
        the mean rate at which events have occurred since the meter was created
      • oneMinuteRate

        double oneMinuteRate()
        Returns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.

        This rate has the same exponential decay factor as the one-minute load average in the top Unix command.

        Returns:
        the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created