HashMap<String, Long> stats = (HashMap<String, Long>)mrc.getStats(mbeanName);
aggregateStats.put(mbeanName, stats);
}
// store the data in a DB
(new SnapshotDBHelper()).addSnapshotToDB(aggregateStats);
for(Iterator itt = aggregateStats.keySet().iterator(); itt.hasNext(); ) {
String mbean = (String)itt.next();
HashMap<String, Long> stats = aggregateStats.get(mbean);
log.info(mbean);