com.liferay.portal.monitoring.statistics
Class BaseStatistics
java.lang.Object
com.liferay.portal.monitoring.statistics.BaseStatistics
- All Implemented Interfaces:
- Statistics
- Direct Known Subclasses:
- AverageStatistics, CountStatistics
public class BaseStatistics
- extends Object
- implements Statistics
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseStatistics
public BaseStatistics(String name)
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Statistics
getLastSampleTime
public long getLastSampleTime()
getLastTime
public long getLastTime()
getLowerBound
public long getLowerBound()
getMaxTime
public long getMaxTime()
getMinTime
public long getMinTime()
getName
public String getName()
- Specified by:
getName
in interface Statistics
getStartTime
public long getStartTime()
getUpperBound
public long getUpperBound()
getUptime
public long getUptime()
reset
public void reset()
- Specified by:
reset
in interface Statistics
setDescription
public void setDescription(String description)
- Specified by:
setDescription
in interface Statistics
setLastSampleTime
public void setLastSampleTime(long lastSampleTime)
setLastTime
public void setLastTime(long lastTime)
setLowerBound
public void setLowerBound(long lowerBound)
setMaxTime
public void setMaxTime(long maxTime)
setMinTime
public void setMinTime(long minTime)
setStartTime
public void setStartTime(long startTime)
setUpperBound
public void setUpperBound(long upperBound)