org.apache.geronimo.management.stats
Class BoundaryStatisticImpl
java.lang.Object
org.apache.geronimo.management.stats.StatisticImpl
org.apache.geronimo.management.stats.BoundaryStatisticImpl
- All Implemented Interfaces:
- Serializable, BoundaryStatistic, Statistic
public class BoundaryStatisticImpl
- extends StatisticImpl
- implements BoundaryStatistic
- 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 |
BoundaryStatisticImpl
public BoundaryStatisticImpl(String name,
String unit,
String description)
BoundaryStatisticImpl
public BoundaryStatisticImpl(String name,
String unit,
String description,
long lower,
long upper)
getUpperBound
public long getUpperBound()
- Specified by:
getUpperBound
in interface BoundaryStatistic
getLowerBound
public long getLowerBound()
- Specified by:
getLowerBound
in interface BoundaryStatistic
setBounds
public void setBounds(long value)
setBounds
public void setBounds(long lower,
long upper)
setUpperBound
public void setUpperBound(long upperBound)
setLowerBound
public void setLowerBound(long lowerBound)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.