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); statsMap.put(stts[i].getName() + " MaxTime", max);
String minTime = TimeUtils.formatDuration(tStat.getMinTime()); mbeanStat.add(new String[] { "Min Time", minTime }); long totalTime = tStat.getTotalTime(); mbeanStat.add(new String[] { "Total Time", Long.toString(totalTime) }); } else if (statistic instanceof BoundedRangeStatistic) {
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); statsMap.put(stts[i].getName() + " MaxTime", max);
Long totalTime = new Long(webStats.getRequestDuration().getTotalTime()); renderRequest.setAttribute("totalRequestCount", count); renderRequest.setAttribute("requestDurationMinTime", new Long(webStats.getRequestDuration().getMinTime()));
processAttrValue(snapshot, mbAttrInfo, propName.append("MaxTime"), ts.getMaxTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("MinTime"), ts.getMinTime()); processAttrValue(snapshot, mbAttrInfo, propName.append("TotalTime"), ts.getTotalTime());