Debian Codegraph @

src/test/perfResources/ehcache.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="user.dir/target/diskStore/ehcache"/>
8
9 <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
10 properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4446, timeToLive=0"/>
11
12
13 <cacheManagerPeerListenerFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
14 properties="hostName=, port=, socketTimeoutMillis="/>
15
16
17 <defaultCache
18 maxElementsInMemory="10"
19 eternal="false"
20 timeToIdleSeconds="5"
21 timeToLiveSeconds="10"
22 overflowToDisk="true"
23 />
24
25
26 <!-- Sample cache named sampleCache1 -->
27 <cache name="sampleCache1"
28 maxElementsInMemory="10000"
29 maxElementsOnDisk="1000"
30 eternal="false"
31 timeToIdleSeconds="360"
32 timeToLiveSeconds="1000"
33 overflowToDisk="false"
34 memoryStoreEvictionPolicy="LRU">
35 </cache>
36
37 <!-- A cache with short idle and live expiries, suitable for tests -->
38 <cache name="sampleIdlingExpiringCache"
39 maxElementsInMemory="1"
40 eternal="false"
41 timeToIdleSeconds="2"
42 timeToLiveSeconds="5"
43 overflowToDisk="true"
44 diskPersistent="true"
45 />
46 </ehcache>