ehcache.xml placeholder

This commit is contained in:
Athou
2013-06-05 18:38:11 +02:00
parent 39f1a19c14
commit 3cef0029b6

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
updateCheck="false" monitoring="autodetect" dynamicConfig="false"
maxBytesLocalHeap="400M" maxBytesLocalOffHeap="2G">
<diskStore path="java.io.tmpdir" />
<defaultCache maxEntriesLocalHeap="10000" eternal="false"
timeToIdleSeconds="120" timeToLiveSeconds="120" maxEntriesLocalDisk="10000000"
diskExpiryThreadIntervalSeconds="120" memoryStoreEvictionPolicy="LRU">
<persistence strategy="localTempSwap" />
</defaultCache>
<!--
<cache name="com.commafeed.backend.model.Feed"
maxEntriesLocalHeap="100000" maxEntriesLocalDisk="1000" eternal="false"
diskSpoolBufferSizeMB="20" timeToIdleSeconds="300" timeToLiveSeconds="600"
memoryStoreEvictionPolicy="LFU" transactionalMode="off">
<persistence strategy="localTempSwap" />
</cache>
-->
</ehcache>