[gatein-commits] gatein SVN: r5037 - in exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache: local and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Nov 11 03:15:43 EST 2010


Author: trong.tran
Date: 2010-11-11 03:15:43 -0500 (Thu, 11 Nov 2010)
New Revision: 5037

Modified:
   exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
   exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
Log:
EXOGTN-130 Use the ExpirationAlgorithm as eviction algorithm instead of FIFO or LRU

Modified: exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
===================================================================
--- exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml	2010-11-11 08:13:46 UTC (rev 5036)
+++ exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml	2010-11-11 08:15:43 UTC (rev 5037)
@@ -29,12 +29,11 @@
   </clustering>
 
   <!-- Eviction configuration -->
-  <eviction wakeUpInterval="5000">
-    <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
-      actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy"
-      eventQueueSize="1000000">
-      <property name="maxNodes" value="5000" />
-      <property name="timeToLive" value="20000" />
-    </default>
-  </eviction>
+   <eviction wakeUpInterval="5000">
+      <default algorithmClass="org.jboss.cache.eviction.ExpirationAlgorithm" actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" 
+               eventQueueSize="1000000">
+         <property name="maxNodes" value="5000" />
+         <property name="warnNoExpirationKey" value="false" />
+      </default>
+   </eviction>
 </jbosscache>
\ No newline at end of file

Modified: exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
===================================================================
--- exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml	2010-11-11 08:13:46 UTC (rev 5036)
+++ exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml	2010-11-11 08:15:43 UTC (rev 5037)
@@ -28,9 +28,10 @@
 
    <!-- Eviction configuration -->
    <eviction wakeUpInterval="5000">
-      <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" eventQueueSize="1000000">
+      <default algorithmClass="org.jboss.cache.eviction.ExpirationAlgorithm" actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" 
+               eventQueueSize="1000000">
          <property name="maxNodes" value="5000" />
-         <property name="minTimeToLive" value="20000" />
+         <property name="warnNoExpirationKey" value="false" />
       </default>
    </eviction>
 



More information about the gatein-commits mailing list