Derek Hulley 733cd6e02d Follow-up on ALF-765 by upgrading EHCache to 2.0.0
- 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
2010-03-17 04:53:04 +00:00

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>