BoundaryStatisticImplpublic final class BoundaryStatisticImpl extends StatisticImpl implements javax.management.j2ee.statistics.BoundaryStatisticAn implementation of a BoundaryStatistic. All instances of this class are
immutable. Provides all the necessary accessors for properties. |
Fields Summary |
---|
private final long | lowerBound | private final long | upperBound |
Constructors Summary |
---|
public BoundaryStatisticImpl(long lower, long upper, String name, String unit, String desc, long startTime, long sampleTime)Constructs the instance of BoundaryStatistic that is immutable.
super(name, unit, desc, startTime, sampleTime);
upperBound = upper;
lowerBound = lower;
|
Methods Summary |
---|
public long | getLowerBound()Returns the lowest possible value, that this statistic is permitted to attain
return lowerBound;
| public long | getUpperBound()Return the highest possible value, that this statistic is permitted to attain
return upperBound;
|
|