import java.util.Map;\r
import java.util.TreeMap;\r
\r
+import org.apache.log4j.Logger;\r
+\r
import compbio.stat.collector.StatDB;\r
import compbio.stat.collector.StatProcessor;\r
+import compbio.stat.servlet.DisplayStat;\r
import compbio.ws.client.Services;\r
\r
public class StatCollection {\r
private Map<Services, StatProcessor> allStat;\r
private Map<Services, StatProcessor> clusterStat;\r
private Map<Services, StatProcessor> localStat;\r
+ \r
+ private final static Logger log = Logger.getLogger(StatCollection.class);\r
\r
public Map<Services, StatProcessor> getAllStat() {\r
return allStat;\r
t.incomplete = db.getIncompleteCount(fromTime, toTime);\r
t.abandoned = db.getAbandonedCount(fromTime, toTime);\r
t.cancelled = db.getCancelledCount(fromTime, toTime);\r
+ log.trace("Job counts: total = " + t.total + ", incomplete = " + \r
+ t.incomplete + ", abandoned = " + t.abandoned + ", cancelled = " + t.cancelled );\r
return t;\r
}\r
\r