Liferay 6.2-ce-ga5

com.liferay.portal.kernel.monitoring.statistics
Class AverageStatistics

java.lang.Object
  extended by com.liferay.portal.kernel.monitoring.statistics.BaseStatistics
      extended by com.liferay.portal.kernel.monitoring.statistics.AverageStatistics
All Implemented Interfaces:
Statistics

public class AverageStatistics
extends BaseStatistics


Constructor Summary
AverageStatistics(String name)
           
 
Method Summary
 void addDuration(long duration)
           
 long getAverageTime()
           
 long getCount()
           
 void reset()
           
 
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
 

Constructor Detail

AverageStatistics

public AverageStatistics(String name)
Method Detail

addDuration

public void addDuration(long duration)

getAverageTime

public long getAverageTime()

getCount

public long getCount()

reset

public void reset()
Specified by:
reset in interface Statistics
Overrides:
reset in class BaseStatistics

Liferay 6.2-ce-ga5