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