[jboss-cvs] jboss-profiler/java/src/expansion/org/jboss/profiler/exp/agent ...
Takuro Okada
t2-okada at nri.co.jp
Mon Nov 27 21:47:49 EST 2006
User: tokada
Date: 06/11/27 21:47:49
Modified: java/src/expansion/org/jboss/profiler/exp/agent Tag:
JBossProfiler_Expansion DefaultProfilerService.java
Log:
Modified an implementation of the executor.
Revision Changes Path
No revision
No revision
1.1.2.5 +2 -1 jboss-profiler/java/src/expansion/org/jboss/profiler/exp/agent/Attic/DefaultProfilerService.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: DefaultProfilerService.java
===================================================================
RCS file: /cvsroot/jboss/jboss-profiler/java/src/expansion/org/jboss/profiler/exp/agent/Attic/DefaultProfilerService.java,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- DefaultProfilerService.java 10 Nov 2006 09:12:25 -0000 1.1.2.4
+++ DefaultProfilerService.java 28 Nov 2006 02:47:49 -0000 1.1.2.5
@@ -77,7 +77,8 @@
private CollectorConfig collectorConfig = null;
public void start() throws Exception {
- collectorExecutor = Executors.newSingleThreadExecutor();
+ //The executor gives priority to adding a new thread.
+ collectorExecutor = Executors.newCachedThreadPool();
try {
metricsPersistor = (MetricsPersistor)Class.forName(persistorName).newInstance();
More information about the jboss-cvs-commits
mailing list