Declared node data caches to be immutable (properties, aspects, parentAssocs)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2011-11-21 00:35:39 +00:00
parent 1e81baf116
commit a54f8a20cf

View File

@@ -239,8 +239,8 @@
<value>org.alfresco.cache.node.aspectsTransactionalCache</value> <value>org.alfresco.cache.node.aspectsTransactionalCache</value>
</property> </property>
<property name="maxCacheSize" value="65000" /> <property name="maxCacheSize" value="65000" />
<property name="mutable" value="true" /> <property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" /> <property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean> </bean>
<!-- ===================================== --> <!-- ===================================== -->
@@ -272,8 +272,8 @@
<value>org.alfresco.cache.node.propertiesTransactionalCache</value> <value>org.alfresco.cache.node.propertiesTransactionalCache</value>
</property> </property>
<property name="maxCacheSize" value="65000" /> <property name="maxCacheSize" value="65000" />
<property name="mutable" value="true" /> <property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" /> <property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean> </bean>
<!-- ===================================== --> <!-- ===================================== -->
@@ -305,8 +305,8 @@
<value>org.alfresco.cache.node.parentAssocsTransactionalCache</value> <value>org.alfresco.cache.node.parentAssocsTransactionalCache</value>
</property> </property>
<property name="maxCacheSize" value="65000" /> <property name="maxCacheSize" value="65000" />
<property name="mutable" value="true" /> <property name="mutable" value="false" />
<property name="disableSharedCache" value="${system.cache.disableMutableSharedCaches}" /> <property name="disableSharedCache" value="${system.cache.disableImmutableSharedCaches}" />
</bean> </bean>
<!-- ===================================== --> <!-- ===================================== -->
@@ -1280,7 +1280,7 @@
<!-- IMAP caches --> <!-- IMAP caches -->
<!-- ===================================== --> <!-- ===================================== -->
<!-- The cross-transaction shared cache for tagscope summary properties --> <!-- The cross-transaction shared cache for IMAP messages -->
<bean name="imapMessageSharedCache" class="org.alfresco.repo.cache.EhCacheAdapter"> <bean name="imapMessageSharedCache" class="org.alfresco.repo.cache.EhCacheAdapter">
<property name="cache"> <property name="cache">
@@ -1295,7 +1295,7 @@
</property> </property>
</bean> </bean>
<!-- The transactional cache for tagscope summary properties --> <!-- The transactional cache for IMAP messages -->
<bean name="imapMessageCache" class="org.alfresco.repo.cache.TransactionalCache"> <bean name="imapMessageCache" class="org.alfresco.repo.cache.TransactionalCache">
<property name="sharedCache"> <property name="sharedCache">