mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-30 18:15:39 +00:00
- Fixed CacheTest to avoid disk flushes (configuration issues) - Allows Cache statistics to be turned off (done) - Added explicit switch to LruMemoryStore (raised https://jira.terracotta.org/jira/browse/EHC-652) - Removed EHCache usage within TransactionalCache (replaced with LruMap and Set) - Even with 'statistics=false' the EHCache code still messes about too much, but it's much better - TODO: Leave ripping out of ehcache-transactional.xml until DAO synch git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
41 lines
918 B
XML
41 lines
918 B
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<ehcache>
|
|
|
|
<!-- defaults -->
|
|
<diskStore
|
|
path="java.io.tmpdir"
|
|
/>
|
|
|
|
<defaultCache
|
|
maxElementsInMemory="5000"
|
|
eternal="true"
|
|
timeToIdleSeconds="0"
|
|
timeToLiveSeconds="0"
|
|
overflowToDisk="false"
|
|
statistics="false"
|
|
>
|
|
</defaultCache>
|
|
|
|
<cache
|
|
name="cache1"
|
|
maxElementsInMemory="200000"
|
|
eternal="true"
|
|
overflowToDisk="false"
|
|
statistics="false"
|
|
/>
|
|
<cache
|
|
name="backingCache"
|
|
maxElementsInMemory="200000"
|
|
eternal="true"
|
|
overflowToDisk="false"
|
|
statistics="false"
|
|
/>
|
|
<cache
|
|
name="objectCache"
|
|
maxElementsInMemory="200000"
|
|
eternal="true"
|
|
overflowToDisk="false"
|
|
statistics="false"
|
|
/>
|
|
|
|
</ehcache> |