com.endeca.portal.instrumentation
Class MetricsAggregation

java.lang.Object
  extended by com.endeca.portal.instrumentation.MetricsAggregation

public class MetricsAggregation
extends java.lang.Object

A class for keeping track of aggregations of metrics.

Author:
huff

Constructor Summary
MetricsAggregation()
           
 
Method Summary
 void add(Metric metric)
           
 double getAvg()
           
 long getAvgLong()
           
 long getCount()
           
 long getMax()
           
 long getMin()
           
 double getStdDev()
           
 long getStdDevLong()
           
 double getTotal()
           
 long getTotalLong()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsAggregation

public MetricsAggregation()
Method Detail

add

public void add(Metric metric)

getTotal

public double getTotal()

getTotalLong

public long getTotalLong()

getCount

public long getCount()

getMin

public long getMin()

getMax

public long getMax()

getAvg

public double getAvg()

getAvgLong

public long getAvgLong()

getStdDev

public double getStdDev()

getStdDevLong

public long getStdDevLong()