mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9613: caching content store. Various improvements and bug fixes. Including:
ALF-10097: disk-persistent cache settings in ehcache ALF-10098: clean up process should remove empty parent directories from content cache disk directory ALF-10126: timeToIdle ehcache property was not affecting cache cleaner job ALF-10127: externally deleted cached content files were not re-cached until after the items expired from ehcache git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30171 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<bean id="cachingContentStore" class="org.alfresco.repo.content.caching.CachingContentStore">
|
||||
<property name="backingStore" ref="backingStore"/>
|
||||
<property name="cache" ref="contentCache"/>
|
||||
<property name="cacheOnInbound" value="true"/>
|
||||
<property name="cacheOnInbound" value="${system.content.caching.cacheOnInbound}"/>
|
||||
</bean>
|
||||
|
||||
|
||||
@@ -51,6 +51,13 @@
|
||||
<property name="cacheName">
|
||||
<value>org.alfresco.cache.cachingContentStoreCache</value>
|
||||
</property>
|
||||
<property name="eternal" value="false"/>
|
||||
<property name="timeToLive" value="${system.content.caching.timeToLiveSeconds}"/>
|
||||
<property name="timeToIdle" value="${system.content.caching.timeToIdleSeconds}"/>
|
||||
<property name="maxElementsInMemory" value="${system.content.caching.maxElementsInMemory}"/>
|
||||
<property name="maxElementsOnDisk" value="${system.content.caching.maxElementsOnDisk}"/>
|
||||
<property name="overflowToDisk" value="true"/>
|
||||
<property name="diskPersistent" value="true"/>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
@@ -70,7 +77,7 @@
|
||||
</bean>
|
||||
|
||||
<bean id="cachedContentCleaner" class="org.alfresco.repo.content.caching.cleanup.CachedContentCleaner">
|
||||
<property name="maxDeleteWatchCount" value="1"/>
|
||||
<property name="maxDeleteWatchCount" value="${system.content.caching.maxDeleteWatchCount}"/>
|
||||
<property name="cache" ref="contentCache"/>
|
||||
</bean>
|
||||
|
||||
@@ -83,7 +90,7 @@
|
||||
<ref bean="schedulerFactory" />
|
||||
</property>
|
||||
<property name="cronExpression">
|
||||
<value>${system.content.cachedContentCleanup.cronExpression}</value>
|
||||
<value>${system.content.caching.contentCleanup.cronExpression}</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
|
Reference in New Issue
Block a user