Debian Codegraph @

src/test/resources/ehcache-monitoring-autodetect.xml

raw
1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"
2 name="cacheManagerAutoDetect"
3 monitoring="autodetect">
4
5 <!-- This does not work, because the java.io.tmpdir gets replaced before the property replacement-->
6 <diskStore path="${specialdir}/subdirectory/nextone"/>
7
8 <defaultCache
9 maxElementsInMemory="10"
10 eternal="false"
11 timeToIdleSeconds="5"
12 timeToLiveSeconds="10"
13 overflowToDisk="false"
14 />
15
16 <!-- Sample cache named sampleCache1 -->
17 <cache name="sampleCache1"
18 maxElementsInMemory="10000"
19 eternal="false"
20 timeToIdleSeconds="360"
21 timeToLiveSeconds="1000"
22 overflowToDisk="false"
23 />
24
25 <!-- Sample cache named sampleCache2 -->
26 <cache name="sampleCache2"
27 maxElementsInMemory="1000"
28 eternal="true"
29 timeToIdleSeconds="0"
30 timeToLiveSeconds="0"
31 overflowToDisk="false"
32 />
33
34 </ehcache>