Debian Codegraph @

src/test/resources/terracotta/ehcache-terracotta-localhost.xml

raw
1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd" name="tc" updateCheck="false">
2
3 <defaultCache
4 maxElementsInMemory="10"
5 eternal="false"
6 timeToIdleSeconds="5"
7 timeToLiveSeconds="10"
8 overflowToDisk="false">
9 <terracotta/>
10 </defaultCache>
11
12 <!-- A basic clustered LFU cache -->
13 <cache name="clustered-1"
14 maxElementsInMemory="1000"
15 memoryStoreEvictionPolicy="LFU">
16 <terracotta/>
17 </cache>
18
19 <terracottaConfig>
20 <tc-config>
21 <servers>
22 <server host="localhost" name="s1"/>
23 </servers>
24 </tc-config>
25 </terracottaConfig>
26
27 </ehcache>