You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by jo...@apache.org on 2006/11/30 19:13:29 UTC
svn commit: r481023 -
/maven/continuum/trunk/continuum-webapp/src/main/resources/META-INF/plexus/application.xml
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>