List of usage examples for javax.management.j2ee.statistics Stats getStatistics
Statistic[] getStatistics();
From source file:org.hyperic.hq.plugin.websphere.WebsphereCollector.java
protected final Stats getStats(AdminClient mServer, ObjectName name) throws PluginException { Stats stats = (Stats) getAttribute(mServer, name, "stats"); if (log.isDebugEnabled()) { log.debug("[getStats] name = " + name); log.debug("[getStats] stats = " + ((stats != null) ? "OK" : "NULL")); if (stats != null) { for (int i = 0; i < stats.getStatistics().length; i++) { Statistic statistic = stats.getStatistics()[i]; log.debug("[getStats] [" + getModuleName() + "] => statistic: " + statistic); }/*from w w w .j a v a 2 s.co m*/ } } return stats; }