Class MeanMetric


public final class MeanMetric extends Object
  • Constructor Details

    • MeanMetric

      public MeanMetric()
  • Method Details

    • inc

      public void inc(long n)
    • count

      public long count()
      Returns the current count of this metric. This metric supports only inc(long) that increases the counter whenever it's invoked; hence, the returned count is always non-negative.
    • sum

      public long sum()
    • mean

      public double mean()