Stat collection and display done
[jabaws.git] / webservices / compbio / stat / servlet / StatisticCollector.java
index 0489790..0fadfb5 100644 (file)
@@ -56,10 +56,9 @@ public class StatisticCollector implements ServletContextListener {
 \r
                log.info("Initializing statistics collector");\r
                executor = Executors.newScheduledThreadPool(2);\r
-               // FIXME Nullpointer if jobsout is not available?\r
+\r
                if (collectClusterStats()) {\r
-                       // TODO remove work out of the constructor Tomcat takes ages to\r
-                       // start!\r
+\r
                        ExecutionStatCollector clusterCollector = new ExecutionStatCollector(\r
                                        clusterWorkDir, clusterMaxRuntime);\r
                        clustercf = executor.scheduleAtFixedRate(clusterCollector, 60,\r
@@ -83,7 +82,6 @@ public class StatisticCollector implements ServletContextListener {
                } else {\r
                        log.info("Local statistics collector is disabled or not configured! ");\r
                }\r
-\r
        }\r
 \r
        static String getClusterJobDir() {\r