Package org.apache.jorphan.math
Class StatCalculatorInteger
StatCalculator for Integer values
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.jorphan.math.StatCalculatoraddAll, addBytes, addSentBytes, addValue, addValue, clear, getCount, getDistribution, getMax, getMean, getMedian, getMin, getPercentPoint, getPercentPoint, getStandardDeviation, getSum, getTotalBytes, getTotalSentBytes
- 
Constructor Details- 
StatCalculatorIntegerpublic StatCalculatorInteger()
 
- 
- 
Method Details- 
addValuepublic void addValue(int val) 
- 
addValuepublic void addValue(int val, int sampleCount) Update the calculator with the value for an aggregated sample.- Parameters:
- val- the aggregate value
- sampleCount- the number of samples contributing to the aggregate value
 
- 
divide- Specified by:
- dividein class- StatCalculator<Integer>
 
- 
divide- Specified by:
- dividein class- StatCalculator<Integer>
 
 
-