Debian Codegraph @

src/test/resources/ehcache-cacheextension.xml

raw
1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd">
3
4 <diskStore path="java.io.tmpdir"/>
5
6 <cacheManagerPeerProviderFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
7 properties="peerDiscovery=automatic, multicastGroupAddress=230.0.0.1, multicastGroupPort=4446, timeToLive=0"/>
8
9
10 <cacheManagerPeerListenerFactory class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
11 properties="hostName=, port=, socketTimeoutMillis="/>
12
13
14 <defaultCache
15 maxElementsInMemory="10"
16 eternal="false"
17 timeToIdleSeconds="5"
18 timeToLiveSeconds="10"
19 overflowToDisk="true"
20 >
21 <cacheExtensionFactory
22 class="net.sf.ehcache.extension.TestCacheExtensionFactory"
23 properties="propertyA=defaultValue"/>
24 </defaultCache>
25
26
27 <!--
28 A cache which has a CacheExtension. The tests rely on their only being one of these configured
29 -->
30 <cache name="testCacheExtensionCache"
31 maxElementsInMemory="10"
32 eternal="false"
33 timeToIdleSeconds="100"
34 timeToLiveSeconds="100"
35 overflowToDisk="false">
36 <cacheExtensionFactory
37 class="net.sf.ehcache.extension.TestCacheExtensionFactory"
38 properties="propertyA=valueA"/>
39 </cache>
40
41 </ehcache>