Author: trong.tran
Date: 2010-10-19 23:46:09 -0400 (Tue, 19 Oct 2010)
New Revision: 4742
Modified:
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
exo/portal/branches/3.1.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml
exo/portal/branches/3.1.5-PLF_REL/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.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml
===================================================================
---
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-10-20
03:34:43 UTC (rev 4741)
+++
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/cluster/config.xml 2010-10-20
03:46:09 UTC (rev 4742)
@@ -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.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml
===================================================================
---
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-10-20
03:34:43 UTC (rev 4741)
+++
exo/portal/branches/3.1.5-PLF_REL/component/common/src/main/java/conf/jcr/jbosscache/local/config.xml 2010-10-20
03:46:09 UTC (rev 4742)
@@ -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.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml
===================================================================
---
exo/portal/branches/3.1.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml 2010-10-20
03:34:43 UTC (rev 4741)
+++
exo/portal/branches/3.1.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache-cluster.xml 2010-10-20
03:46:09 UTC (rev 4742)
@@ -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.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml
===================================================================
---
exo/portal/branches/3.1.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml 2010-10-20
03:34:43 UTC (rev 4741)
+++
exo/portal/branches/3.1.5-PLF_REL/web/portal/src/main/webapp/WEB-INF/conf/organization/picketlink-idm/jboss-cache.xml 2010-10-20
03:46:09 UTC (rev 4742)
@@ -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