} else if (statistic instanceof BoundaryStatistic) { BoundaryStatistic bStat = (BoundaryStatistic) statistic; long upperBound = bStat.getUpperBound(); mbeanStat.add(new String[] { "Upper Bound", Long.toString(upperBound) }); long lowerBound = bStat.getLowerBound();
BoundaryStatistic bs = (BoundaryStatistic) stat; processAttrValue(snapshot, mbAttrInfo, propName.append("LowerBound"), bs.getLowerBound()); processAttrValue(snapshot, mbAttrInfo, propName.append("UpperBound"), bs.getUpperBound());