Class BoundaryStatisticImpl
- java.lang.Object
-
- org.glassfish.external.statistics.impl.StatisticImpl
-
- org.glassfish.external.statistics.impl.BoundaryStatisticImpl
-
- All Implemented Interfaces:
java.lang.reflect.InvocationHandler
,BoundaryStatistic
,Statistic
public final class BoundaryStatisticImpl extends StatisticImpl implements BoundaryStatistic, java.lang.reflect.InvocationHandler
-
-
Field Summary
Fields Modifier and Type Field Description private BoundaryStatistic
bs
private long
lowerBound
private long
upperBound
-
Fields inherited from class org.glassfish.external.statistics.impl.StatisticImpl
LAST_SAMPLE_TIME, NEWLINE, sampleTime, START_TIME, statMap, UNIT_COUNT, UNIT_MICROSECOND, UNIT_MILLISECOND, UNIT_NANOSECOND, UNIT_SECOND
-
-
Constructor Summary
Constructors Constructor Description BoundaryStatisticImpl(long lower, long upper, java.lang.String name, java.lang.String unit, java.lang.String desc, long startTime, long sampleTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLowerBound()
The lower limit of the value of this attribute.The upper limit of the value of this attribute.java.util.Map
getStaticAsMap()
BoundaryStatistic
getStatistic()
long
getUpperBound()
The upper limit of the value of this attribute.java.lang.Object
invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args)
void
reset()
-
Methods inherited from class org.glassfish.external.statistics.impl.StatisticImpl
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.glassfish.external.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
-
-
-
-
Field Detail
-
lowerBound
private final long lowerBound
-
upperBound
private final long upperBound
-
bs
private final BoundaryStatistic bs
-
-
Method Detail
-
getStatistic
public BoundaryStatistic getStatistic()
-
getStaticAsMap
public java.util.Map getStaticAsMap()
- Overrides:
getStaticAsMap
in classStatisticImpl
-
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 interfaceBoundaryStatistic
-
getUpperBound
public long getUpperBound()
Description copied from interface:BoundaryStatistic
The upper limit of the value of this attribute.- Specified by:
getUpperBound
in interfaceBoundaryStatistic
-
reset
public void reset()
- Overrides:
reset
in classStatisticImpl
-
invoke
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.Throwable
- Specified by:
invoke
in interfacejava.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
-
-