continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1133223 - /continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml
Date Wed, 08 Jun 2011 00:51:07 GMT
Author: ctan
Date: Wed Jun  8 00:51:06 2011
New Revision: 1133223

URL: http://svn.apache.org/viewvc?rev=1133223&view=rev
Log:
[CONTINUUM-2633] added ehcache.xml

Added:
    continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml   (with props)

Added: continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml?rev=1133223&view=auto
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml (added)
+++ continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml Wed Jun  8 00:51:06 2011
@@ -0,0 +1,63 @@
+<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <diskStore path="java.io.tmpdir" />
+
+  <!-- make default cache very short lived -->
+  <defaultCache
+    maxElementsInMemory="100"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="300"
+    timeToLiveSeconds="600"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <!--
+    cache Redback classes longer to avoid a lot of SQL queries
+    See REDBACK-227
+  -->
+  <cache name="org.codehaus.plexus.redback.rbac.jdo.JdoOperation"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="1800"
+    timeToLiveSeconds="14400"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <cache name="org.codehaus.plexus.redback.rbac.jdo.JdoPermission"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="1800"
+    timeToLiveSeconds="14400"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <cache name="org.codehaus.plexus.redback.rbac.jdo.JdoResource"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="1800"
+    timeToLiveSeconds="14400"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <cache name="org.codehaus.plexus.redback.rbac.jdo.JdoRole"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="1800"
+    timeToLiveSeconds="14400"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <cache name="org.codehaus.plexus.redback.rbac.jdo.JdoUserAssignment"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="300"
+    timeToLiveSeconds="600"
+    memoryStoreEvictionPolicy="LFU" />
+
+</ehcache>

Propchange: continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message