org.apache.geronimo.management.stats
Class CountStatisticImpl
java.lang.Object
org.apache.geronimo.management.stats.StatisticImpl
org.apache.geronimo.management.stats.CountStatisticImpl
- All Implemented Interfaces:
- javax.management.j2ee.statistics.CountStatistic, Serializable, javax.management.j2ee.statistics.Statistic
- public class CountStatisticImpl
- extends StatisticImpl
- implements javax.management.j2ee.statistics.CountStatistic
- Version:
- $Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $
- 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.management.j2ee.statistics.Statistic |
getDescription, getLastSampleTime, getName, getStartTime, getUnit |
CountStatisticImpl
public CountStatisticImpl(String name,
String unit,
String description)
CountStatisticImpl
public CountStatisticImpl(String name,
String unit,
String description,
long count)
getCount
public long getCount()
- Specified by:
getCount
in interface javax.management.j2ee.statistics.CountStatistic
setCount
public void setCount(long count)
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.