commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r1307881 - /commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java
Date Sat, 31 Mar 2012 19:18:49 GMT
Author: tv
Date: Sat Mar 31 19:18:49 2012
New Revision: 1307881

URL: http://svn.apache.org/viewvc?rev=1307881&view=rev
Log:
When issuing a shutDown() command, JCS fails to clean up the Queue Processor thread. fixes
JCS-90

Modified:
    commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java

Modified: commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java
URL: http://svn.apache.org/viewvc/commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java?rev=1307881&r1=1307880&r2=1307881&view=diff
==============================================================================
--- commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java
(original)
+++ commons/proper/jcs/branches/generics-interface/src/java/org/apache/jcs/engine/control/CompositeCache.java
Sat Mar 31 19:18:49 2012
@@ -1314,9 +1314,11 @@ public class CompositeCache<K extends Se
         }
         alive = false;
 
+        // Now, shut down the event queue
+        elementEventQ.destroy();
+
         // Dispose of each auxiliary cache, Remote auxiliaries will be
         // skipped if 'fromRemote' is true.
-
         for ( int i = 0; i < auxCaches.length; i++ )
         {
             try



Mime
View raw message