Package org.apache.solr.metrics
Class AggregateMetric
java.lang.Object
org.apache.solr.metrics.AggregateMetric
- All Implemented Interfaces:
com.codahale.metrics.Metric
This class is used for keeping several partial named values and providing useful statistics over
them.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSimple class to represent current value and how many times it was set. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AggregateMetric
public AggregateMetric()
-
-
Method Details
-
set
-
clear
-
clear
public void clear() -
size
public int size() -
isEmpty
public boolean isEmpty() -
getValues
-
getMax
public double getMax() -
getMin
public double getMin() -
getMean
public double getMean() -
getStdDev
public double getStdDev() -
getSum
public double getSum() -
toString
-