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

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Oct 19 23:34:44 EDT 2010


Author: trong.tran
Date: 2010-10-19 23:34:43 -0400 (Tue, 19 Oct 2010)
New Revision: 4741

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
   exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml
   exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml
Log:
EXOGTN-94 Revert back to use the old algorithm for jbosscache

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-10-20 02:41:39 UTC (rev 4740)
+++ exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml	2010-10-20 03:34:43 UTC (rev 4741)
@@ -30,12 +30,11 @@
 
   <!-- Eviction configuration -->
   <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="1000000" />
-        <property name="warnNoExpirationKey" value="false" />
-     </default>
+    <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>
-
 </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-10-20 02:41:39 UTC (rev 4740)
+++ exo/portal/branches/3.1.x/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml	2010-10-20 03:34:43 UTC (rev 4741)
@@ -27,13 +27,11 @@
    <invocationBatching enabled="true" />
 
    <!-- Eviction configuration -->
-  <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="1000000" />
-        <property name="warnNoExpirationKey" value="false" />
-     </default>
-  </eviction>
+   <eviction wakeUpInterval="5000">
+      <default algorithmClass="org.jboss.cache.eviction.FIFOAlgorithm" actionPolicyClass="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.ParentNodeEvictionActionPolicy" eventQueueSize="1000000">
+         <property name="maxNodes" value="5000" />
+         <property name="minTimeToLive" value="20000" />
+      </default>
+   </eviction>
 
 </jbosscache>

Modified: exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml
===================================================================
--- exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml	2010-10-20 02:41:39 UTC (rev 4740)
+++ exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml	2010-10-20 03:34:43 UTC (rev 4741)
@@ -8,12 +8,11 @@
 
   <!-- Eviction configuration -->
   <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="1000000" />
-        <property name="warnNoExpirationKey" value="false" />
-     </default>
+    <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
+      eventQueueSize="1000000">
+      <property name="maxNodes" value="1000000" />
+      <property name="timeToLive" value="120000" />
+    </default>
   </eviction>
 
 </jbosscache>

Modified: exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml
===================================================================
--- exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml	2010-10-20 02:41:39 UTC (rev 4740)
+++ exo/portal/branches/3.1.x/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml	2010-10-20 03:34:43 UTC (rev 4741)
@@ -2,12 +2,11 @@
 
   <!-- Eviction configuration -->
   <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="1000000" />
-        <property name="warnNoExpirationKey" value="false" />
-     </default>
+    <default algorithmClass="org.jboss.cache.eviction.LRUAlgorithm"
+      eventQueueSize="1000000">
+      <property name="maxNodes" value="1000000" />
+      <property name="timeToLive" value="120000" />
+    </default>
   </eviction>
 
 </jbosscache>
\ No newline at end of file



More information about the gatein-commits mailing list