public final class BoundaryStatisticImpl extends StatisticImpl implements javax.management.j2ee.statistics.BoundaryStatistic
DEFAULT_UNIT, DEFAULT_VALUE, localStrMgr, NEWLINE
Constructor and Description |
---|
BoundaryStatisticImpl(long lower,
long upper,
String name,
String unit,
String desc,
long startTime,
long sampleTime)
Constructs the instance of BoundaryStatistic that is immutable.
|
Modifier and Type | Method and Description |
---|---|
long |
getLowerBound()
Returns the lowest possible value, that this statistic is permitted to attain
|
long |
getUpperBound()
Return the highest possible value, that this statistic is permitted to attain
|
getDescription, getLastSampleTime, getName, getStartTime, getUnit, setDescription, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDescription, getLastSampleTime, getName, getStartTime, getUnit
public BoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime)
upper
- The upper limit of this statisticlower
- The lower limit of this statisticname
- The name of the statisticunit
- The unit of measurement for this statisticdesc
- A brief description of the statisticstartTime
- Time in milliseconds at which the measurement was startedsampleTime
- Time at which the last measurement was done.public long getLowerBound()
getLowerBound
in interface javax.management.j2ee.statistics.BoundaryStatistic
public long getUpperBound()
getUpperBound
in interface javax.management.j2ee.statistics.BoundaryStatistic
Copyright © 2021. All rights reserved.