continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r1135370 - /continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml
Date Tue, 14 Jun 2011 03:03:01 GMT
Author: ctan
Date: Tue Jun 14 03:03:01 2011
New Revision: 1135370

URL: http://svn.apache.org/viewvc?rev=1135370&view=rev
Log:
[CONTINUUM-2633] enabled second level caching on some continuum classes

Modified:
    continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml

Modified: 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=1135370&r1=1135369&r2=1135370&view=diff
==============================================================================
--- continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml (original)
+++ continuum/trunk/continuum-webapp/src/main/resources/ehcache.xml Tue Jun 14 03:03:01 2011
@@ -60,4 +60,35 @@
     timeToLiveSeconds="600"
     memoryStoreEvictionPolicy="LFU" />
 
+  <!-- 
+    cache Continuum classes
+   -->
+  <cache name="org.apache.maven.continuum.model.project.Project.buildResults"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="300"
+    timeToLiveSeconds="600"
+    memoryStoreEvictionPolicy="LFU" />
+
+  <cache name="org.apache.maven.continuum.model.project.BuildResult"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="300"
+    timeToLiveSeconds="600"
+    memoryStoreEvictionPolicy="LFU" />
+
+  
+  <cache name="org.apache.continuum.model.release.ContinuumReleaseResult"
+    maxElementsInMemory="10000"
+    maxElementsOnDisk="0"
+    eternal="false"
+    overflowToDisk="false"
+    timeToIdleSeconds="300"
+    timeToLiveSeconds="600"
+    memoryStoreEvictionPolicy="LFU" />
+
 </ehcache>



Mime
View raw message