Class BoundaryStatisticImpl
java.lang.Object
org.glassfish.external.statistics.impl.StatisticImpl
org.glassfish.external.statistics.impl.BoundaryStatisticImpl
- All Implemented Interfaces:
InvocationHandler,BoundaryStatistic,Statistic
public final class BoundaryStatisticImpl
extends StatisticImpl
implements BoundaryStatistic, InvocationHandler
- Author:
- Sreenivas Munnangi
-
Field Summary
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
ConstructorsConstructorDescriptionBoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime) -
Method Summary
Modifier and TypeMethodDescriptionlongThe lower limit of the value of this attribute.The upper limit of the value of this attribute.longThe upper limit of the value of this attribute.voidreset()Methods inherited from class org.glassfish.external.statistics.impl.StatisticImpl
checkMethod, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isValidString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.glassfish.external.statistics.Statistic
getDescription, getLastSampleTime, getName, getStartTime, getUnit
-
Constructor Details
-
BoundaryStatisticImpl
-
-
Method Details
-
getStatistic
-
getStaticAsMap
- Overrides:
getStaticAsMapin classStatisticImpl
-
getLowerBound
public long getLowerBound()Description copied from interface:BoundaryStatisticThe lower limit of the value of this attribute.The upper limit of the value of this attribute.- Specified by:
getLowerBoundin interfaceBoundaryStatistic
-
getUpperBound
public long getUpperBound()Description copied from interface:BoundaryStatisticThe upper limit of the value of this attribute.- Specified by:
getUpperBoundin interfaceBoundaryStatistic
-
reset
public void reset()- Overrides:
resetin classStatisticImpl
-
invoke
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-