org.glassfish.external.statistics.impl
Class BoundedRangeStatisticImpl
java.lang.Object
org.glassfish.external.statistics.impl.StatisticImpl
org.glassfish.external.statistics.impl.BoundedRangeStatisticImpl
- All Implemented Interfaces:
- InvocationHandler, BoundaryStatistic, BoundedRangeStatistic, RangeStatistic, Statistic
public final class BoundedRangeStatisticImpl
- extends StatisticImpl
- implements BoundedRangeStatistic, InvocationHandler
- Author:
- Sreenivas Munnangi
BoundedRangeStatisticImpl
public BoundedRangeStatisticImpl(long curVal,
long highMark,
long lowMark,
long upper,
long lower,
String name,
String unit,
String desc,
long startTime,
long sampleTime)
toString
public String toString()
- Overrides:
toString in class StatisticImpl
getStatistic
public BoundedRangeStatistic getStatistic()
getStaticAsMap
public Map getStaticAsMap()
- Overrides:
getStaticAsMap in class StatisticImpl
getCurrent
public long getCurrent()
- Description copied from interface:
RangeStatistic
- The current value of this attribute.
- Specified by:
getCurrent in interface RangeStatistic
setCurrent
public void setCurrent(long curVal)
getHighWaterMark
public long getHighWaterMark()
- Description copied from interface:
RangeStatistic
- The highest value this attribute has held since the beginninYg of the measurement.
- Specified by:
getHighWaterMark in interface RangeStatistic
setHighWaterMark
public void setHighWaterMark(long hwm)
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
setLowWaterMark
public void setLowWaterMark(long lwm)
getLowerBound
public long getLowerBound()
- Description copied from interface:
BoundaryStatistic
- The lower limit of the value of this attribute.The upper limit of the value of this attribute.
- Specified by:
getLowerBound in interface BoundaryStatistic
getUpperBound
public long getUpperBound()
- Description copied from interface:
BoundaryStatistic
- The upper limit of the value of this attribute.
- Specified by:
getUpperBound in interface BoundaryStatistic
reset
public void reset()
- Overrides:
reset in class StatisticImpl
invoke
public Object invoke(Object proxy,
Method m,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.