public class StatsImpl extends StatisticImpl implements Stats, Resettable
enabled| Constructor and Description |
|---|
StatsImpl() |
StatsImpl(Set<StatisticImpl> set) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStatistic(String name,
StatisticImpl statistic) |
Statistic |
getStatistic(String name) |
String[] |
getStatisticNames() |
Statistic[] |
getStatistics() |
void |
reset()
Reset the statistic
|
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, setEnabled, toString, updateSampleTimepublic StatsImpl()
public StatsImpl(Set<StatisticImpl> set)
public void reset()
Resettablereset in interface Resettablereset in class StatisticImplpublic Statistic getStatistic(String name)
getStatistic in interface Statspublic String[] getStatisticNames()
getStatisticNames in interface Statspublic Statistic[] getStatistics()
getStatistics in interface Statsprotected void addStatistic(String name, StatisticImpl statistic)
Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.