com.sun.appserv.management.j2ee.statistics
Class RangeStatisticImpl
java.lang.Object
com.sun.appserv.management.j2ee.statistics.StatisticImpl
com.sun.appserv.management.j2ee.statistics.RangeStatisticImpl
- All Implemented Interfaces:
- Serializable, RangeStatistic, Statistic
- Direct Known Subclasses:
- BoundedRangeStatisticImpl
public class RangeStatisticImpl
- extends StatisticImpl
- implements RangeStatistic, Serializable
- See Also:
- Serialized Form
Method Summary |
long |
getCurrent()
The current value of this attribute. |
long |
getHighWaterMark()
The highest value this attribute has held since the beginning of the measurement. |
long |
getLowWaterMark()
The lowest value this attribute has held since the beginning of the measurement. |
RangeStatisticImpl
public RangeStatisticImpl(String name,
String description,
String unit,
long startTime,
long lastSampleTime,
long low,
long current,
long high)
RangeStatisticImpl
public RangeStatisticImpl(CompositeData compositeData)
RangeStatisticImpl
public RangeStatisticImpl(Map<String,?> m)
RangeStatisticImpl
public RangeStatisticImpl(RangeStatistic s)
RangeStatisticImpl
public RangeStatisticImpl(MapStatistic s)
getCurrent
public long getCurrent()
- Description copied from interface:
RangeStatistic
- The current value of this attribute.
- Specified by:
getCurrent
in interface RangeStatistic
getHighWaterMark
public long getHighWaterMark()
- Description copied from interface:
RangeStatistic
- The highest value this attribute has held since the beginning of the measurement.
- Specified by:
getHighWaterMark
in interface RangeStatistic
getLowWaterMark
public long getLowWaterMark()
- Description copied from interface:
RangeStatistic
- The lowest value this attribute has held since the beginning of the measurement.
- Specified by:
getLowWaterMark
in interface RangeStatistic
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.