Java EE 5 SDK

com.sun.appserv.management.j2ee.statistics
Class RangeStatisticImpl

java.lang.Object
  extended by com.sun.appserv.management.j2ee.statistics.StatisticImpl
      extended by 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

Field Summary
 
Fields inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
mLastSampleTime
 
Constructor Summary
RangeStatisticImpl(CompositeData compositeData)
           
RangeStatisticImpl(Map<String,?> m)
           
RangeStatisticImpl(MapStatistic s)
           
RangeStatisticImpl(RangeStatistic s)
           
RangeStatisticImpl(String name, String description, String unit, long startTime, long lastSampleTime, long low, long current, long high)
           
 
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.
 
Methods inherited from class com.sun.appserv.management.j2ee.statistics.StatisticImpl
equals, getDescription, getLastSampleTime, getName, getStartTime, getUnit, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.j2ee.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
 

Constructor Detail

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)
Method Detail

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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.