| biz.hammurapi.metrics.Metric
All known Subclasses: biz.hammurapi.metrics.SimpleMetric,
Metric | public interface Metric (Code) | | author: Pavel Vlasov version: $Revision: 1.5 $ |
Inner Class :public interface Measurement | |
add | void add(double value, long time)(Code) | | Adds measurement
Parameters: source - Source object Parameters: value - value |
add | void add(Metric metric)(Code) | | Adds another metric (aggregates)
Parameters: metric - |
getAvg | double getAvg()(Code) | | Average |
getDeviation | double getDeviation()(Code) | | average distance from average |
getMax | double getMax()(Code) | | Maximum value |
getMin | double getMin()(Code) | | Minimum value |
getNumber | int getNumber()(Code) | | number of measurements |
getTotal | double getTotal()(Code) | | Sum of values from all measurements |
|
|