mbeanStat.add(new String[] { "Description", statistic.getDescription() }); mbeanStat.add(new String[] { "Unit", statistic.getUnit() }); Date startTime = new Date(statistic.getStartTime());
processAttrValue(snapshot, mbAttrInfo, propName.append("Description"), stat.getDescription()); processAttrValue(snapshot, mbAttrInfo, propName.append("LastSampleTime"), stat.getLastSampleTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("StartTime"), stat.getStartTime());