Debian Codegraph @

src/test/resources/ehcache-coherence-mode-test.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd">
5
6 <defaultCache maxElementsInMemory="10" eternal="false"
7 timeToIdleSeconds="5" timeToLiveSeconds="10" overflowToDisk="true" />
8
9 <cache name="defaultCoherenceMode" maxElementsInMemory="10"
10 eternal="false" timeToIdleSeconds="5" timeToLiveSeconds="10"
11 overflowToDisk="true" copyOnRead="true">
12 <terracotta clustered="false" />
13 </cache>
14
15 <cache name="falseCoherenceMode" maxElementsInMemory="10"
16 eternal="false" timeToIdleSeconds="5" timeToLiveSeconds="10"
17 overflowToDisk="true" copyOnRead="true">
18 <terracotta clustered="false" coherent="false" />
19 </cache>
20
21 <cache name="trueCoherenceMode" maxElementsInMemory="10"
22 eternal="false" timeToIdleSeconds="5" timeToLiveSeconds="10"
23 overflowToDisk="true" copyOnRead="true">
24 <terracotta clustered="false" coherent="true" />
25 </cache>
26 </ehcache>