cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r530289 - in /cocoon/trunk/core/cocoon-store/cocoon-store-impl/src: changes/changes.xml main/resources/META-INF/cocoon/spring/cocoon-store-impl-ehcache.xml
Date Thu, 19 Apr 2007 07:04:02 GMT
Author: reinhard
Date: Thu Apr 19 00:04:01 2007
New Revision: 530289

implement result of discussions with Vadim and Ard: don't use StoreJanitor together with EHCache
which would lead to unexpected behaviour very likely


Modified: cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/changes/changes.xml
--- cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/changes/changes.xml (original)
+++ cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/changes/changes.xml Thu Apr 19 00:04:01
@@ -32,13 +32,14 @@
         MRUMemoryStore registers at StoreJanitor only in that case, if StoreJanitor
         is set as dependency. By default it is set.
-      <!--action dev="reinhard" type="fix"> I reverted this fix as we should vote on
-        EHDefaultStore doesn't register at StoreJanitor anymore. The usage of
-        StoreJanitor to remove elements from EHDefaultStore was contra-productive,
+      <action dev="reinhard" type="fix">
+        The usage of  StoreJanitor to remove elements from EHDefaultStore was contra-productive,
         because EHCache provides its own invalidation mechanisms which are more
         sophisticated than the removal of random items. Find more information
-        at;r=1&amp;w=2.
-      </action-->            
+        at;r=1&amp;w=2. In order to use EHDefaultStore
+        again, we would need access to EHCache internals so that we don't remove the
+        wrong items.
+      </action>            
       <action dev="reinhard" type="add">
         Expose all configuration properties that EHCache provides via setter methods.
         Using them, EHDefaultStore can be completly configured in the Spring bean

Modified: cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/resources/META-INF/cocoon/spring/cocoon-store-impl-ehcache.xml
--- cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/resources/META-INF/cocoon/spring/cocoon-store-impl-ehcache.xml
+++ cocoon/trunk/core/cocoon-store/cocoon-store-impl/src/main/resources/META-INF/cocoon/spring/cocoon-store-impl-ehcache.xml
Thu Apr 19 00:04:01 2007
@@ -36,7 +36,6 @@
     <property name="maxMemObjects" value="${}"/>
     <property name="useCacheDirectory" value="${}"/>
     <property name="settings" ref="org.apache.cocoon.configuration.Settings"/>
-    <property name="storeJanitor" ref=""/>

View raw message