Debian Codegraph @

src/test/resources/ehcache-decorator-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 <!-- Disable for test ehcache.xml. Should go to the same place. -->
7 <diskStore path="java.io.tmpdir" />
8
9 <defaultCache maxElementsInMemory="10" eternal="false"
10 timeToIdleSeconds="5" timeToLiveSeconds="10" overflowToDisk="false" />
11
12 <cache name="noDecoratorCache" eternal="false"
13 maxElementsInMemory="1000" overflowToDisk="false" />
14
15 <cache name="oneDecoratorCache" eternal="false"
16 maxElementsInMemory="1000" overflowToDisk="false">
17 <cacheDecoratorFactory
18 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=oneDecoratorFirst, someKey=oneFirst" />
19 </cache>
20
21 <cache name="twoDecoratorCache" eternal="false"
22 maxElementsInMemory="1000" overflowToDisk="false">
23 <cacheDecoratorFactory
24 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=twoDecoratorFirst, someKey=twoFirst" />
25 <cacheDecoratorFactory
26 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=twoDecoratorSecond, someKey=twoSecond" />
27 </cache>
28
29 <cache name="fiveDecoratorCache" eternal="false"
30 maxElementsInMemory="1000" overflowToDisk="false">
31 <cacheDecoratorFactory
32 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=fiveDecoratorFirst#someKey=fiveFirst"
33 propertySeparator="#" />
34 <cacheDecoratorFactory
35 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=fiveDecoratorSecond:someKey=fiveSecond"
36 propertySeparator=":" />
37 <cacheDecoratorFactory
38 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=fiveDecoratorThird@someKey=fiveThird"
39 propertySeparator="@" />
40 <cacheDecoratorFactory
41 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=fiveDecoratorFourth>someKey=fiveFourth"
42 propertySeparator=">" />
43 <cacheDecoratorFactory
44 class="net.sf.ehcache.constructs.MockDecoratorFactory" properties="name=fiveDecoratorFifth,someKey=fiveFifth"
45 propertySeparator="," />
46 </cache>
47
48 </ehcache>