mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2119 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
170 lines
5.7 KiB
XML
170 lines
5.7 KiB
XML
<ehcache>
|
|
<diskStore
|
|
path="java.io.tmpdir"/>
|
|
<defaultCache
|
|
maxElementsInMemory="5000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- Nodes: Most other objects are cached as a ratio against the number of nodes cached -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl"
|
|
maxElementsInMemory="100000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:1 node:node status -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeStatusImpl"
|
|
maxElementsInMemory="100000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:5 node:aspects -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.aspects"
|
|
maxElementsInMemory="500000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:10 node:properties -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.properties"
|
|
maxElementsInMemory="1000000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:1 node:child assocs set -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.childAssocs"
|
|
maxElementsInMemory="100000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:1 node:parent assocs set -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs"
|
|
maxElementsInMemory="100000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:5 node:child assocs -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.ChildAssocImpl"
|
|
maxElementsInMemory="100000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:1 node:source node assocs set -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.sourceNodeAssocs"
|
|
maxElementsInMemory="10000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- 1:1 node:target node assocs set -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeImpl.targetNodeAssocs"
|
|
maxElementsInMemory="10000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- general use node associations are not common -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.NodeAssocImpl"
|
|
maxElementsInMemory="10000"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- low numbers of objects expected -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.StoreImpl"
|
|
maxElementsInMemory="100"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- version counters -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.VersionCountImpl"
|
|
maxElementsInMemory="100"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
/>
|
|
<!-- applied patches -->
|
|
<cache
|
|
name="org.alfresco.repo.domain.hibernate.AppliedPatchImpl"
|
|
maxElementsInMemory="100"
|
|
eternal="false"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="60"
|
|
overflowToDisk="false"
|
|
/>
|
|
<cache
|
|
name="org.hibernate.cache.StandardQueryCache"
|
|
maxElementsInMemory="50"
|
|
eternal="false"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.hibernate.cache.UpdateTimestampsCache"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<!-- Permission related caches -->
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.RecipientImpl"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.PermissionReferenceImpl"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.PermissionEntryImpl"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.NodePermissionEntryImpl"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.NodePermissionEntryImpl.permissionEntries"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
<cache
|
|
name="org.alfresco.repo.security.permissions.impl.hibernate.RecipientImpl.externalKeys"
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
overflowToDisk="false"/>
|
|
</ehcache> |