public class SizeStatisticImpl extends StatisticImpl
enabled| Constructor and Description |
|---|
SizeStatisticImpl(SizeStatisticImpl parent,
String name,
String description) |
SizeStatisticImpl(String name,
String description) |
SizeStatisticImpl(String name,
String unit,
String description) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSize(long size) |
protected void |
appendFieldDescription(StringBuffer buffer) |
double |
getAveragePerSecond() |
double |
getAveragePerSecondExcludingMinMax() |
double |
getAverageSize() |
double |
getAverageSizeExcludingMinMax() |
long |
getCount() |
long |
getMaxSize() |
long |
getMinSize() |
SizeStatisticImpl |
getParent() |
long |
getTotalSize() |
void |
reset()
Reset the statistic
|
void |
setParent(SizeStatisticImpl parent) |
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTimepublic SizeStatisticImpl(SizeStatisticImpl parent, String name, String description)
public void reset()
Resettablereset in interface Resettablereset in class StatisticImplpublic long getCount()
public void addSize(long size)
public long getMaxSize()
public long getMinSize()
public long getTotalSize()
public double getAverageSize()
public double getAverageSizeExcludingMinMax()
public double getAveragePerSecond()
public double getAveragePerSecondExcludingMinMax()
public SizeStatisticImpl getParent()
public void setParent(SizeStatisticImpl parent)
protected void appendFieldDescription(StringBuffer buffer)
appendFieldDescription in class StatisticImplCopyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.