| java.lang.Object org.mortbay.jetty.servlet.jsr77.TimeStatisticImpl
TimeStatisticImpl | public class TimeStatisticImpl implements javax.management.j2ee.statistics.TimeStatistic(Code) | | author: janb author: To change the template for this generated type comment go to author: Window - Preferences - Java - Code Generation - Code and Comments |
addSample | public synchronized void addSample(long sample, long time)(Code) | | |
getCount | public long getCount()(Code) | | Return number of times statistic has been gathered.
See Also: javax.management.j2ee.statistics.TimeStatistic.getCount |
getDescription | public String getDescription()(Code) | | Human readable description of statistic
See Also: javax.management.j2ee.statistics.Statistic.getDescription |
getLastSampleTime | public long getLastSampleTime()(Code) | | Get the time of the last sample.
As milliseconds since the epoch.
See Also: javax.management.j2ee.statistics.Statistic.getLastSampleTime |
getMaxTime | public long getMaxTime()(Code) | | Return max value of statistic.
See Also: javax.management.j2ee.statistics.TimeStatistic.getMaxTime |
getMinTime | public long getMinTime()(Code) | | Return min value of statistic.
See Also: javax.management.j2ee.statistics.TimeStatistic.getMinTime |
getName | public String getName()(Code) | | Return name of statistic
See Also: javax.management.j2ee.statistics.Statistic.getName |
getStartTime | public long getStartTime()(Code) | | Get the time the statistic began to be gathered.
As milliseconds since the last epoch.
See Also: javax.management.j2ee.statistics.Statistic.getStartTime |
getTotalTime | public long getTotalTime()(Code) | | Return total time of statistic
See Also: javax.management.j2ee.statistics.TimeStatistic.getTotalTime |
getUnit | public String getUnit()(Code) | | Return units of statistic
See Also: javax.management.j2ee.statistics.Statistic.getUnit |
setStartTime | public void setStartTime()(Code) | | |
|
|