add webStat support

This commit is contained in:
wenshao
2012-08-12 14:43:18 +08:00
parent 697a596ec2
commit cef63ebdd6
6 changed files with 135 additions and 5 deletions
@@ -139,7 +139,7 @@ public class WebAppStat {
for (WebURIStat uriStat : this.uriStatMap.values()) {
Map<String, Object> uriStatData = uriStat.getStatData();
long runningCount = (Long) uriStatData.get("RunningCount");
int runningCount = ((Number) uriStatData.get("RunningCount")).intValue();
long requestCount = (Long) uriStatData.get("RequestCount");
if (runningCount == 0 && requestCount == 0) {