Long current = new Long(((TimeStatistic)aStat).getCount()); Long max = new Long(((TimeStatistic)aStat).getMaxTime()); Long min = new Long(((TimeStatistic)aStat).getMinTime()); Long total = new Long(((TimeStatistic)aStat).getTotalTime()); statsMap.put(stts[i].getName() + " CurrentTime", current);
String maxTime = TimeUtils.formatDuration(tStat.getMaxTime()); mbeanStat.add(new String[] { "Max Time", maxTime }); String minTime = TimeUtils.formatDuration(tStat.getMinTime()); mbeanStat.add(new String[] { "Min Time", minTime }); long totalTime = tStat.getTotalTime();
Long current = new Long(((TimeStatistic)aStat).getCount()); Long max = new Long(((TimeStatistic)aStat).getMaxTime()); Long min = new Long(((TimeStatistic)aStat).getMinTime()); Long total = new Long(((TimeStatistic)aStat).getTotalTime()); statsMap.put(stts[i].getName() + " CurrentTime", current);
Long totalTime = new Long(webStats.getRequestDuration().getTotalTime()); renderRequest.setAttribute("totalRequestCount", count); renderRequest.setAttribute("requestDurationMinTime", new Long(webStats.getRequestDuration().getMinTime())); renderRequest.setAttribute("requestDurationMaxTime", new Long(webStats.getRequestDuration().getMaxTime())); renderRequest.setAttribute("requestDurationTotalTime", totalTime);
processAttrValue(snapshot, mbAttrInfo, propName.append("Count"), ts.getCount()); processAttrValue(snapshot, mbAttrInfo, propName.append("MaxTime"), ts.getMaxTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("MinTime"), ts.getMinTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("TotalTime"), ts.getTotalTime());