Debian Codegraph @

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

raw
1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"
2 name="cacheManagerOn"
3 monitoring="on">
4
5 <defaultCache
6 maxElementsInMemory="10"
7 eternal="false"
8 timeToIdleSeconds="5"
9 timeToLiveSeconds="10"
10 overflowToDisk="false"
11 />
12
13 <!-- Sample cache named sampleCache1 -->
14 <cache name="sampleCache1"
15 maxElementsInMemory="10000"
16 eternal="false"
17 timeToIdleSeconds="360"
18 timeToLiveSeconds="1000"
19 overflowToDisk="false"
20 />
21
22 <!-- Sample cache named sampleCache2 -->
23 <cache name="sampleCache2"
24 maxElementsInMemory="1000"
25 eternal="true"
26 timeToIdleSeconds="0"
27 timeToLiveSeconds="0"
28 overflowToDisk="false"
29 />
30
31 </ehcache>