geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r807778 - in /geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container: BlueprintEventDispatcher.java BlueprintExtender.java
Date Tue, 25 Aug 2009 19:31:55 GMT
Author: gawor
Date: Tue Aug 25 19:31:55 2009
New Revision: 807778

URL: http://svn.apache.org/viewvc?rev=807778&view=rev
Log:
3 threads in the pool hit the spot

Modified:
    geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintEventDispatcher.java
    geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintExtender.java

Modified: geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintEventDispatcher.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintEventDispatcher.java?rev=807778&r1=807777&r2=807778&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintEventDispatcher.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintEventDispatcher.java
Tue Aug 25 19:31:55 2009
@@ -146,7 +146,7 @@
     
     public void destroy() {
         this.executor.shutdown();
-        // wait for the queued task to execute        
+        // wait for the queued tasks to execute        
         try {
             this.executor.awaitTermination(60, TimeUnit.SECONDS);
         } catch (InterruptedException e) {

Modified: geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintExtender.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintExtender.java?rev=807778&r1=807777&r2=807778&view=diff
==============================================================================
--- geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintExtender.java
(original)
+++ geronimo/sandbox/blueprint/blueprint-core/src/main/java/org/apache/geronimo/blueprint/container/BlueprintExtender.java
Tue Aug 25 19:31:55 2009
@@ -67,7 +67,7 @@
         this.context = context;
         eventDispatcher = new BlueprintEventDispatcher(context);
         handlers = new NamespaceHandlerRegistryImpl(context);
-        executors = Executors.newScheduledThreadPool(2);
+        executors = Executors.newScheduledThreadPool(3);
         containers = new HashMap<Bundle, BlueprintContainerImpl>();
 
         context.addBundleListener(this);



Mime
View raw message