mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
41454: ALF-15881: Disabling clustering in community 41500: ALF-15883: Move configuration files 41503: ALF-15884: Move cluster package to enterprise repository project 41504: ALF-15884: Move cluster package to enterprise repository project 41519: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only 41523: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only 41525: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only 41527: ALF-15886: References/definition for "hazelcastInstanceFactory" must be in enterprise repo only 41530: ALF-15886: remove import for class no longer in project. 41532: ALF-15887: LockStoreFactoryImpl must be separated into community and enterprise versions 41535: ALF-15883: Move configuration files 41561: ALF-15886: factory class to create key fileserver config beans. 41578: ALF-15888: separate transactional and shared cache bean definitions. 41623: ALF-15888: first pass at DefaultSimpleCache implementation. 41646: ALF-15888: move ehcache-default.xml 41651: ALF-15888: update javadoc to reflect changes 41762: ALF-15888: improve cache test to prove that null values are stored correctly. 41812: ALF-15888: added new cache provider for use by hibernate: DefaultCacheProvider. 41830: ALF-15888: make DefaultSimpleCache BeanNameAware to help with debugging etc. 41831: ALF-15888: missing file from commit - adds enterprise override capability for hibernate-cfg.properties 41850: ALF-15888: move tickets cache to cache-context.xml 41857: ALF-15888: make RemoteAlfrescoTicketServiceImpl cache implementation agnostic. 41866: ALF-15888: extract caches from fileservers and web-client and provide enterprise overrides 41881: ALF-15888: replace use of EhCacheAdapter with DefaultSimpleCache and SimpleCache interface. 41884: ALF-15888: added DefaultSimpleCache configuration to CachingContentStore sample XML. 41885: ALF-15888: move EhCacheAdapter to new package. 41886: ALF-15888: correct absolute class names in config for EhCacheAdapter. 41892: ALF-15888: fix CachingContentStore tests. 41897: ALF-15888: move CacheTest and config to new package. 41898: ALF-15888: remove redundant directory 41899: ALF-15889: move EhCacheManagerFactoryBean to new package. 41902: ALF-15889: moved EhCacheTracerJob to new package. 41913: ALF-15889: move InternalEhCacheManagerFactoryBean to new package. 41916: ALF-15889: move AlfrescoCacheManagerPeerProviderFactory to new package. 41937: ALF-15889: decouple TransactionalCache from EhCache 41966: ALF-15889: decouple RetryingTransactionHelper from ehcache. 41989: ALF-15889: added ContextListener test. 41996: ALF-15889: moved cache test to its own class. 41998: ALF-15889: move ehcache jars. 41999: ALF-15889: modify .classpath to reflect jar moves. 42037: ALF-15889: update poms to reflect lib moves. 42038: ALF-15889: add eclipse library reference to enterprise projects. 42093: ALF-15916: moved core properties to enterprise 42114: ALF-15888: externalized cache sizes to repository.properties. 42127: ALF-16136: move re-indexing configuration 42140: ALF-16136: move cluster check property. 42186: ALF-15889: removing seemingly redundant test config file. 42187: ALF-15888: tidy up config changes. 42189: ALF-15888: cleanup config 42190: ALF-15888: config cleanup 42191: ALF-15888: config cleanup 42198: ALF-16136: restored lost property git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42210 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
420 lines
17 KiB
XML
420 lines
17 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<!--
|
|
Configuration of shared (cross-transaction) caches. The in-transaction caches
|
|
are defined in tx-cache-context.xml
|
|
-->
|
|
<beans>
|
|
<!-- ===================================== -->
|
|
<!-- Property Values Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Property entities -->
|
|
|
|
<bean name="propertyValueSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<!-- <property name="cacheName">
|
|
<value>org.alfresco.cache.propertyValueCache</value>
|
|
</property>
|
|
-->
|
|
<property name="maxItems" value="${cache.propertyValueCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ID lookup for ContentData entities -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for ContentData -->
|
|
|
|
<bean name="contentDataSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.contentDataSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ID lookup for general, shared, immutable entities -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for immutable entities -->
|
|
|
|
<bean name="immutableEntitySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.immutableEntitySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Root Nodes lookup -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Root Nodes -->
|
|
|
|
<bean name="node.rootNodesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.rootNodesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for Root Nodes -->
|
|
|
|
<bean name="node.allRootNodesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.allRootNodesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Nodes lookup -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Nodes -->
|
|
|
|
<bean name="node.nodesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.nodesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Node Aspect lookup -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Node Aspects -->
|
|
|
|
<bean name="node.aspectsSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.aspectsSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Node Properties lookup -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Node Properties -->
|
|
|
|
<bean name="node.propertiesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.propertiesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Child by cm:name lookup for nodes -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Child-by-name -->
|
|
|
|
<bean name="node.childByNameSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.node.childByNameSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Rules lookup for nodes -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Node Rules -->
|
|
|
|
<bean name="nodeRulesSharedCache" class="org.alfresco.repo.cache.NullCache"/>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Authority container look up for users -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for User Authorities -->
|
|
|
|
<bean name="userToAuthoritySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.userToAuthoritySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for User Authentication -->
|
|
|
|
<bean name="authenticationSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.authenticationSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ====================================== -->
|
|
<!-- NodeRef lookup for authority containers -->
|
|
<!-- ====================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for authority containers -->
|
|
|
|
<bean name="authoritySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.authoritySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ================================================ -->
|
|
<!-- Authority NodeRef lookup to ChildAssociationRefs -->
|
|
<!-- ================================================ -->
|
|
|
|
<!-- The cross-transaction shared cache for authority containers -->
|
|
|
|
<bean name="authorityToChildAuthoritySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.authorityToChildAuthoritySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ================================================ -->
|
|
<!-- Zone lookup to ChildAssociationRefs -->
|
|
<!-- ================================================ -->
|
|
|
|
<!-- The cross-transaction shared cache for authority containers -->
|
|
|
|
<bean name="zoneToAuthoritySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.zoneToAuthoritySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Permissions access cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Permissions -->
|
|
|
|
<bean name="permissionsAccessSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.permissionsAccessSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ACL Readers cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for ACL readers -->
|
|
|
|
<bean name="readersSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.readersSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ACL Readers Denied cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for ACL denied readers -->
|
|
|
|
<bean name="readersDeniedSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.readersDeniedSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Node owner cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Node Ownership -->
|
|
|
|
<bean name="nodeOwnerSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.nodeOwnerSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Person username to NodeRef cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Person -->
|
|
|
|
<bean name="personSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.personSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Authentication Ticket Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for In-Memory Tickets -->
|
|
|
|
<bean name="ticketsCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.ticketsCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Lookup for AVM entities -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for AVM Store entities -->
|
|
|
|
<bean name="avmStoreSharedCache" class="org.alfresco.repo.cache.NullCache"/>
|
|
|
|
|
|
<!-- The cross-transaction shared cache for AVM entities (various - using cache region) -->
|
|
|
|
<bean name="avmEntitySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.avmEntitySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for AVM VersionRoot entities -->
|
|
|
|
<bean name="avmVersionRootEntitySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.avmVersionRootEntitySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for AVM Node entities -->
|
|
|
|
<bean name="avmNodeSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.avmNodeSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for AVM Node Aspects entities -->
|
|
|
|
<bean name="avmNodeAspectsSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.avmNodeAspectsSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- WebServices Query Session Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for WebService query sessions -->
|
|
|
|
<bean name="webServicesQuerySessionSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.webServicesQuerySessionSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ACL cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Acls -->
|
|
|
|
<bean name="aclSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.aclSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- ACL Entity cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for ACL entities -->
|
|
|
|
<bean name="aclEntitySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.aclEntitySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Authority Entity cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Authority entities -->
|
|
|
|
<bean name="authorityEntitySharedCache" class="org.alfresco.repo.cache.NullCache"/>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Permission Entity cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Permission entities -->
|
|
|
|
<bean name="permissionEntitySharedCache" class="org.alfresco.repo.cache.NullCache"/>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Messages Caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for In-Memory ResourceBundleBaseNames -->
|
|
|
|
<bean name="resourceBundleBaseNamesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.resourceBundleBaseNamesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for In-Memory LoadedResourceBundles -->
|
|
|
|
<bean name="loadedResourceBundlesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.loadedResourceBundlesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for In-Memory Messages -->
|
|
|
|
<bean name="messagesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.messagesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Dictionary / Namespace Caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Dictionary Models -->
|
|
|
|
<bean name="compiledModelsSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.compiledModelsSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- The cross-transaction shared cache for Dictionary Namespaces -->
|
|
|
|
<bean name="prefixesSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.prefixesSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Web Scripts Caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for In-Memory WebScripts Registry -->
|
|
|
|
<bean name="webScriptsRegistrySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.webScriptsRegistrySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- RoutingContentStore caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for AbstractRoutingContentStore -->
|
|
|
|
<bean name="routingContentStoreSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.routingContentStoreSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Executing Actions caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for Executing Actions -->
|
|
|
|
<bean name="executingActionsCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.executingActionsCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- TagScope Summary caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for tagscope summary properties -->
|
|
|
|
<bean name="tagscopeSummarySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.tagscopeSummarySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- IMAP caches -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for IMAP messages -->
|
|
|
|
<bean name="imapMessageSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.imapMessageSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Tenant Entity Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for in-memory Tenants -->
|
|
|
|
<bean name="tenantEntitySharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.tenantEntitySharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- ===================================== -->
|
|
<!-- Immutable Singleton Cache -->
|
|
<!-- ===================================== -->
|
|
|
|
<!-- The cross-transaction shared cache for immutable (tenant-aware) singletons -->
|
|
|
|
<bean name="immutableSingletonSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.immutableSingletonSharedCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<!-- Remote Alfresco Ticket Cache, cross-transaction shared cache -->
|
|
<bean name="remoteAlfrescoTicketService.ticketsCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.remoteAlfrescoTicketService.ticketsCache.maxItems}"/>
|
|
</bean>
|
|
|
|
|
|
<bean name="contentDiskDriver.fileInfoCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.contentDiskDriver.fileInfoCache.maxItems}"/>
|
|
</bean>
|
|
|
|
<bean name="globalConfigSharedCache" class="org.alfresco.repo.cache.DefaultSimpleCache">
|
|
<property name="maxItems" value="${cache.globalConfigSharedCache.maxItems}"/>
|
|
</bean>
|
|
</beans>
|