org.apache.geronimo.management.stats
Class TimeStatisticImpl
java.lang.Object
org.apache.geronimo.management.stats.StatisticImpl
org.apache.geronimo.management.stats.TimeStatisticImpl
- All Implemented Interfaces:
- Serializable, Statistic, TimeStatistic
public class TimeStatisticImpl
- extends StatisticImpl
- implements TimeStatistic
- See Also:
- Serialized Form
Fields inherited from class org.apache.geronimo.management.stats.StatisticImpl |
UNIT_COUNT, UNIT_MEMORY_BYTES, UNIT_MEMORY_GIGABYTES, UNIT_MEMORY_KILOBYTES, UNIT_MEMORY_MEGABYTES, UNIT_TIME_HOUR, UNIT_TIME_MICROSECOND, UNIT_TIME_MILLISECOND, UNIT_TIME_MINUTE, UNIT_TIME_NANOSECOND, UNIT_TIME_SECOND |
TimeStatisticImpl
public TimeStatisticImpl(String name,
String unit,
String description)
getCount
public long getCount()
- Specified by:
getCount
in interface TimeStatistic
setCount
public void setCount(long count)
getMinTime
public long getMinTime()
- Specified by:
getMinTime
in interface TimeStatistic
setMinTime
public void setMinTime(long minTime)
getMaxTime
public long getMaxTime()
- Specified by:
getMaxTime
in interface TimeStatistic
setMaxTime
public void setMaxTime(long maxTime)
getTotalTime
public long getTotalTime()
- Specified by:
getTotalTime
in interface TimeStatistic
setTotalTime
public void setTotalTime(long totalTime)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.