org.apache.solr.util.stats

## Class Meter

- java.lang.Object
- - org.apache.solr.util.stats.Meter

-     public class Meter
      extends Object

  A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
  See Also:
    EMA

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getCount()`
    `String` | `getEventType()`
    `double` | `getFifteenMinuteRate()`
    `double` | `getFiveMinuteRate()`
    `double` | `getMeanRate()`
    `double` | `getOneMinuteRate()`
    `TimeUnit` | `getRateUnit()`
    `void` | `mark()` Mark the occurrence of an event.
    `void` | `mark(long n)` Mark the occurrence of a given number of events.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getRateUnit

          public TimeUnit getRateUnit()

    - #### getEventType

          public String getEventType()

    - #### mark

          public void mark()

      Mark the occurrence of an event.

    - #### mark

          public void mark(long n)

      Mark the occurrence of a given number of events.
      Parameters:
        `n` - the number of events

    - #### getCount

          public long getCount()

    - #### getFifteenMinuteRate

          public double getFifteenMinuteRate()

    - #### getFiveMinuteRate

          public double getFiveMinuteRate()

    - #### getMeanRate

          public double getMeanRate()

    - #### getOneMinuteRate

          public double getOneMinuteRate()

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.