continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joak...@apache.org
Subject svn commit: r481023 - /maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Date Thu, 30 Nov 2006 18:13:29 GMT
Author: joakime
Date: Thu Nov 30 10:13:27 2006
New Revision: 481023

URL: http://svn.apache.org/viewvc?view=rev&rev=481023
Log:
Adding cache definitions temporarily, until i can get plexus-maven-plugin:merge-descriptors
working.

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml?view=diff&rev=481023&r1=481022&r2=481023
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
Thu Nov 30 10:13:27 2006
@@ -597,6 +597,104 @@
       </configuration>
     </component>
 
+    <!-- ================================================================
+           Caches with Long Term entries
+         ================================================================ -->
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>operations</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for Operations</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>1000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>operationsCache</name>
+        <time-to-idle-seconds>1800</time-to-idle-seconds>
+        <time-to-live-seconds>14400</time-to-live-seconds>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>permissions</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for Permissions</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>1000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>permissionsCache</name>
+        <time-to-idle-seconds>1800</time-to-idle-seconds>
+        <time-to-live-seconds>14400</time-to-live-seconds>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>resources</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for Resources</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>1000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>resourcesCache</name>
+        <time-to-idle-seconds>1800</time-to-idle-seconds>
+        <time-to-live-seconds>14400</time-to-live-seconds>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>roles</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for Roles</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>1000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>rolesCache</name>
+        <time-to-idle-seconds>1800</time-to-idle-seconds>
+        <time-to-live-seconds>14400</time-to-live-seconds>
+      </configuration>
+    </component>
+
+    <!-- ================================================================
+           Caches with Short Term entries
+         ================================================================ -->
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>userAssignments</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for UserAssignments</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>10000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>userAssignmentsCache</name>
+        <time-to-idle-seconds>300</time-to-idle-seconds>
+        <time-to-live-seconds>600</time-to-live-seconds>
+      </configuration>
+    </component>
+
+    <component>
+      <role>org.codehaus.plexus.ehcache.EhcacheComponent</role>
+      <role-hint>userPermissions</role-hint>
+      <implementation>org.codehaus.plexus.ehcache.MemoryCache</implementation>
+      <description>MemoryCache for User Permissions Map</description>
+      <configuration>
+        <eternal>false</eternal>
+        <max-elements-in-memory>10000</max-elements-in-memory>
+        <memory-eviction-policy>LRU</memory-eviction-policy>
+        <name>userPermissionsCache</name>
+        <time-to-idle-seconds>300</time-to-idle-seconds>
+        <time-to-live-seconds>600</time-to-live-seconds>
+      </configuration>
+    </component>
+
   </components>
 
 </plexus>



Mime
View raw message