com.liferay.portal.kernel.monitoring.statistics
Class CountStatistics
java.lang.Object
com.liferay.portal.kernel.monitoring.statistics.BaseStatistics
com.liferay.portal.kernel.monitoring.statistics.CountStatistics
- All Implemented Interfaces:
- Statistics
public class CountStatistics
- extends BaseStatistics
Methods inherited from class com.liferay.portal.kernel.monitoring.statistics.BaseStatistics |
getDescription, getLastSampleTime, getLastTime, getLowerBound, getMaxTime, getMinTime, getName, getStartTime, getUpperBound, getUptime, setDescription, setLastSampleTime, setLastTime, setLowerBound, setMaxTime, setMinTime, setStartTime, setUpperBound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CountStatistics
public CountStatistics(String name)
decrementCount
public void decrementCount()
getCount
public long getCount()
incrementCount
public void incrementCount()
reset
public void reset()
- Specified by:
reset
in interface Statistics
- Overrides:
reset
in class BaseStatistics
setCount
public void setCount(long count)