Package org.elasticsearch.common.metrics
Class MeanMetric
java.lang.Object
org.elasticsearch.common.metrics.MeanMetric
- All Implemented Interfaces:
Metric
public class MeanMetric extends java.lang.Object implements Metric
-
Constructor Summary
Constructors Constructor Description MeanMetric()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MeanMetric
public MeanMetric()
-
-
Method Details
-
inc
public void inc(long n) -
dec
public void dec(long n) -
count
public long count() -
sum
public long sum() -
mean
public double mean() -
clear
public void clear()
-