statsMap.put(stts[i].getName(), current); } else if(aStat instanceof TimeStatistic) { Long current = new Long(((TimeStatistic)aStat).getCount()); Long max = new Long(((TimeStatistic)aStat).getMaxTime()); Long min = new Long(((TimeStatistic)aStat).getMinTime());
} else if (statistic instanceof TimeStatistic) { TimeStatistic tStat = (TimeStatistic) statistic; long count = tStat.getCount(); mbeanStat.add(new String[] { "Count", Long.toString(count) }); String maxTime = TimeUtils.formatDuration(tStat.getMaxTime());
statsMap.put(stts[i].getName(), current); } else if(aStat instanceof TimeStatistic) { Long current = new Long(((TimeStatistic)aStat).getCount()); Long max = new Long(((TimeStatistic)aStat).getMaxTime()); Long min = new Long(((TimeStatistic)aStat).getMinTime());
renderRequest.setAttribute("activeRequestCountHigh", new Long(webStats.getActiveRequestCount().getHighWaterMark())); Long count = new Long(webStats.getRequestDuration().getCount()); Long totalTime = new Long(webStats.getRequestDuration().getTotalTime()); renderRequest.setAttribute("totalRequestCount", count);
processAttrValue(snapshot, mbAttrInfo, propName.append("Count"), ts.getCount()); processAttrValue(snapshot, mbAttrInfo, propName.append("MaxTime"), ts.getMaxTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("MinTime"), ts.getMinTime());