org.apache.geronimo.management.stats
Class StatisticImpl
java.lang.Object
org.apache.geronimo.management.stats.StatisticImpl
- All Implemented Interfaces:
- Serializable, Statistic
- Direct Known Subclasses:
- BoundaryStatisticImpl, CountStatisticImpl, RangeStatisticImpl, TimeStatisticImpl
public class StatisticImpl
- extends Object
- implements Statistic, Serializable
Implementation of the JSR-77 Statistic interface (JSR77.6.4)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNIT_TIME_HOUR
public static final String UNIT_TIME_HOUR
- See Also:
- Constant Field Values
UNIT_TIME_MINUTE
public static final String UNIT_TIME_MINUTE
- See Also:
- Constant Field Values
UNIT_TIME_SECOND
public static final String UNIT_TIME_SECOND
- See Also:
- Constant Field Values
UNIT_TIME_MILLISECOND
public static final String UNIT_TIME_MILLISECOND
- See Also:
- Constant Field Values
UNIT_TIME_MICROSECOND
public static final String UNIT_TIME_MICROSECOND
- See Also:
- Constant Field Values
UNIT_TIME_NANOSECOND
public static final String UNIT_TIME_NANOSECOND
- See Also:
- Constant Field Values
UNIT_MEMORY_BYTES
public static final String UNIT_MEMORY_BYTES
- See Also:
- Constant Field Values
UNIT_MEMORY_KILOBYTES
public static final String UNIT_MEMORY_KILOBYTES
- See Also:
- Constant Field Values
UNIT_MEMORY_MEGABYTES
public static final String UNIT_MEMORY_MEGABYTES
- See Also:
- Constant Field Values
UNIT_MEMORY_GIGABYTES
public static final String UNIT_MEMORY_GIGABYTES
- See Also:
- Constant Field Values
UNIT_COUNT
public static final String UNIT_COUNT
- See Also:
- Constant Field Values
StatisticImpl
public StatisticImpl(String name,
String unit,
String description)
getName
public String getName()
- Specified by:
getName
in interface Statistic
getUnit
public String getUnit()
- Specified by:
getUnit
in interface Statistic
getDescription
public String getDescription()
- Specified by:
getDescription
in interface Statistic
getStartTime
public long getStartTime()
- Specified by:
getStartTime
in interface Statistic
setStartTime
public void setStartTime()
setStartTime
public void setStartTime(long startTime)
getLastSampleTime
public long getLastSampleTime()
- Specified by:
getLastSampleTime
in interface Statistic
setLastSampleTime
public void setLastSampleTime(long lastSampleTime)
setLastSampleTime
public void setLastSampleTime()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.