try { Stats stats = (Stats)mbServer.getAttribute(new ObjectName(mbeanName), "stats"); String[] sttsName = stats.getStatisticNames(); Statistic[] stts = stats.getStatistics(); for(int i = 0; i < sttsName.length; i++) {
try { Stats stats = (Stats)getMEJB().getAttribute(new ObjectName(mbeanName), "stats"); String[] sttsName = stats.getStatisticNames(); Statistic[] stts = stats.getStatistics(); for(int i = 0; i < sttsName.length; i++) {
HashMap statsMap = new HashMap(); Stats stats = (Stats)mbServer.getAttribute(new ObjectName(objectName), "stats"); String[] sttsName = stats.getStatisticNames(); Statistic[] stts = stats.getStatistics(); for(int i = 0; i < sttsName.length; i++) {
Stats stats = (Stats) kernel.getAttribute(aname, STATS_ATTRIB); if (statisticsProvider.booleanValue() == true && (stats != null)) { String[] statisticNames = stats.getStatisticNames(); for (int i = 0; i < statisticNames.length; i++) { Statistic statistic = stats.getStatistic(statisticNames[i]);
HashMap<String, Long> statsMap = new HashMap<String, Long>(); Stats stats = (Stats)getMEJB().getAttribute(new ObjectName(objectName), "stats"); String[] sttsName = stats.getStatisticNames(); Statistic[] stts = stats.getStatistics(); for(int i = 0; i < sttsName.length; i++) {