Files
alfresco-community-repo/config/alfresco/tx-cache-context.xml
Derek Hulley b1537dd686 Merged DEV to HEAD
44687: ALF-16662 Update of 3.4d multi tenant to 4.2a fails - users unavailable
          Added <property name="tenantAware" value="false" /> property
          to bean with name="immutableEntityCache" in tx-cache-context.xml. 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@44693 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-13 21:39:57 +00:00

600 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<!-- The transactional cache for Encoding entities -->
<bean name="propertyValueCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="propertyValueSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.propertyValueTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for ContentData -->
<bean name="contentDataCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="contentDataSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.contentDataTransactionalCache</value>
</property>
<property name="maxCacheSize" value="65000" />
<property name="mutable" value="true" />
<property name="allowEqualsChecks" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for immutable entities -->
<bean name="immutableEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="immutableEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.immutableEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="mutable" value="true" /><!-- Null value markers are allowed -->
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
<property name="tenantAware" value="false" />
</bean>
<!-- The transactional cache for Root Nodes -->
<bean name="node.rootNodesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.rootNodesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.rootNodesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
<property name="tenantAware" value="false" />
</bean>
<!-- The transactional cache for Root Nodes -->
<bean name="node.allRootNodesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.allRootNodesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.allRootNodesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="500" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Nodes -->
<bean name="node.nodesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.nodesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.nodesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="125000" />
<property name="mutable" value="true" />
<property name="allowEqualsChecks" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Node Aspects -->
<bean name="node.aspectsCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.aspectsSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.aspectsTransactionalCache</value>
</property>
<property name="maxCacheSize" value="65000" />
<property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean>
<!-- The transactional cache for Node Properties -->
<bean name="node.propertiesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.propertiesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.propertiesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="65000" />
<property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean>
<!-- The transactional cache for Child-by-name -->
<bean name="node.childByNameCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="node.childByNameSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.node.childByNameTransactionalCache</value>
</property>
<property name="maxCacheSize" value="65000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Node Rules (shared cache must be null - ie. do not share across txns) -->
<bean name="nodeRulesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="nodeRulesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.nodeRulesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="2000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for User Authorities -->
<bean name="userToAuthorityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="userToAuthoritySharedCache" />
</property>
<property name="name">
<value>org.alfresco.userToAuthorityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="100" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for User Authentication -->
<bean name="authenticationCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="authenticationSharedCache" />
</property>
<property name="name">
<value>org.alfresco.authenticationTransactionalCache</value>
</property>
<property name="maxCacheSize">
<value>100</value>
</property>
</bean>
<!-- The transactional cache for authority containers -->
<bean name="authorityLookupCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="authoritySharedCache" />
</property>
<property name="name">
<value>org.alfresco.authorityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="allowEqualsChecks" value="true" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for authority containers -->
<bean name="authorityToChildAuthorityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="authorityToChildAuthoritySharedCache" />
</property>
<property name="name">
<value>org.alfresco.authorityToChildAuthorityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="40000" />
<property name="mutable" value="true" />
<property name="allowEqualsChecks" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for authority bridge -->
<bean name="authorityBridgeTableByTenantCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="authorityBridgeTableByTenantSharedCache" />
</property>
<property name="name">
<value>org.alfresco.authorityBridgeTableByTenantTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10" />
<property name="mutable" value="true" />
<property name="allowEqualsChecks" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for authority containers -->
<bean name="zoneToAuthorityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="zoneToAuthoritySharedCache" />
</property>
<property name="name">
<value>org.alfresco.zoneToAuthorityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="500" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Permissions -->
<bean name="permissionsAccessCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="permissionsAccessSharedCache" />
</property>
<property name="name">
<value>org.alfresco.permissionsAccessTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for ACL readers -->
<bean name="readersCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="readersSharedCache" />
</property>
<property name="name">
<value>org.alfresco.readersTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for ACL denied readers -->
<bean name="readersDeniedCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="readersDeniedSharedCache" />
</property>
<property name="name">
<value>org.alfresco.readersDeniedTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Node Ownership -->
<bean name="nodeOwnerCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="nodeOwnerSharedCache" />
</property>
<property name="name">
<value>org.alfresco.nodeOwnerTransactionalCache</value>
</property>
<property name="maxCacheSize" value="20000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Person -->
<bean name="personCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="personSharedCache" />
</property>
<property name="name">
<value>org.alfresco.personTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AVM Store entities -->
<bean name="avmStoreCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="avmStoreSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.avmStoreTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AVM entities (various - using cache region) -->
<bean name="avmEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="avmEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.avmEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="5000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AVM VersionRoot entities -->
<bean name="avmVersionRootEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="avmVersionRootEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.avmVersionRootEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="100" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AVM Node entities -->
<bean name="avmNodeCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="avmNodeSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.avmNodeTransactionalCache</value>
</property>
<property name="maxCacheSize" value="5000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AVM Node Aspects entities -->
<bean name="avmNodeAspectsCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="avmNodeAspectsSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.avmNodeAspectsTransactionalCache</value>
</property>
<property name="maxCacheSize" value="5000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- Transactional cache for WebService query sessions -->
<bean name="webServicesQuerySessionCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="webServicesQuerySessionSharedCache"/>
</property>
<property name="name">
<value>org.alfresco.repo.webservices.querySessionTransactionalCache</value>
</property>
<property name="maxCacheSize" value="50" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Node Ownership -->
<bean name="aclCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="aclSharedCache" />
</property>
<property name="name">
<value>org.alfresco.aclTransactionalCache</value>
</property>
<property name="maxCacheSize" value="20000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for ACL entities -->
<bean name="aclEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="aclEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.aclEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="50000" />
<property name="mutable" value="true" />
<property name="allowEqualsChecks" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Authority entities -->
<bean name="authorityEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="authorityEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.authorityEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="50000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for Permission entities -->
<bean name="permissionEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="permissionEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.permissionEntityTransactionalCache</value>
</property>
<property name="maxCacheSize" value="50000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for In-Memory ResourceBundleBaseNames -->
<bean name="resourceBundleBaseNamesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="resourceBundleBaseNamesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.resourceBundleBaseNamesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for In-Memory LoadedResourceBundles -->
<bean name="loadedResourceBundlesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="loadedResourceBundlesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.loadedResourceBundlesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for In-Memory Messages -->
<bean name="messagesCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="messagesSharedCache" />
</property>
<property name="name">
<value>org.alfresco.messagesTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for AbstractRoutingContentStore -->
<bean name="routingContentStoreCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="routingContentStoreSharedCache" />
</property>
<property name="name">
<value>org.alfresco.routingContentStoreTransactionalCache</value>
</property>
<property name="maxCacheSize" value="10000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for tagscope summary properties -->
<bean name="tagscopeSummaryCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="tagscopeSummarySharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.tagscopeSummaryTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
</bean>
<!-- The transactional cache for IMAP messages -->
<bean name="imapMessageCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="imapMessageSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.imapMessageTransactionalCache</value>
</property>
<property name="maxCacheSize" value="1000" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean>
<!-- The transactional cache for in-memory Tenants -->
<bean name="tenantEntityCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="tenantEntitySharedCache" />
</property>
<property name="name">
<value>org.alfresco.tenantsTransactionalCache</value>
</property>
<property name="maxCacheSize" value="100" />
<property name="mutable" value="true" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" />
<property name="tenantAware" value="false" />
</bean>
<!-- The transactional cache for immutable (tenant-aware) singletons -->
<bean name="immutableSingletonCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache">
<ref bean="immutableSingletonSharedCache" />
</property>
<property name="name">
<value>org.alfresco.cache.immutableSingletonTransactionalCache</value>
</property>
<property name="maxCacheSize" value="12000" />
<property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean>
</beans>