Cache configuration of AVM entities. Memory footprint, and performance are

reasonable and good under load.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-12-13 21:43:59 +00:00
parent e76fc329b6
commit cc94478e72

View File

@@ -180,5 +180,59 @@
eternal="true" eternal="true"
overflowToDisk="false" overflowToDisk="false"
/> />
<!-- AVM caches -->
<cache
name="org.alfresco.repo.avm.AVMNodeImpl"
maxElementsInMemory="5000"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.AVMStoreImpl"
maxElementsInMemory="100"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.VersionRootImpl"
maxElementsInMemory="200"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.ChildEntryImpl"
maxElementsInMemory="10000"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.HistoryLinkImpl"
maxElementsInMemory="200"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.MergeLinkImpl"
maxElementsInMemory="200"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.AVMNodePropertyImpl"
maxElementsInMemory="2000"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.AVMStorePropertyImpl"
maxElementsInMemory="500"
eternal="true"
overflowToDisk="false"
/>
<cache
name="org.alfresco.repo.avm.AVMAspectNameImpl"
maxElementsInMemory="1000"
eternal="true"
overflowToDisk="false"
/>
</ehcache> </ehcache>