comparison flys-artifacts/doc/conf/cache.xml @ 3812:f788d2d901d6

merged flys-artifacts/pre2.6-2011-12-05
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:53 +0200
parents f7d890f4855f
children f572536af56c
comparison
equal deleted inserted replaced
3808:5fab0fe3c445 3812:f788d2d901d6
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ehcache>
3
4 <diskStore path="java.io.tmpdir"/>
5
6 <defaultCache
7 maxElementsInMemory="1000"
8 eternal="false"
9 timeToIdleSeconds="120"
10 timeToLiveSeconds="3600"
11 overflowToDisk="true"
12 maxElementsOnDisk="100000"
13 diskPersistent="false"
14 diskExpiryThreadIntervalSeconds="120"
15 memoryStoreEvictionPolicy="LRU"
16 />
17
18 <!-- This one is used for the WST value tables -->
19
20 <cache name="wst-value-table"
21 maxElementsInMemory="20"
22 maxElementsOnDisk="100"
23 eternal="false"
24 timeToIdleSeconds="360"
25 overflowToDisk="true"
26 timeToLiveSeconds="14400"
27 diskPersistent="true"
28 memoryStoreEvictionPolicy="LRU"
29 />
30
31 <!-- This one is used to cache the distance infos per river as Documents -->
32 <cache name="service-distanceinfo"
33 maxElementsInMemory="20"
34 eternal="false"
35 timeToIdleSeconds="360"
36 timeToLiveSeconds="86400"
37 memoryStoreEvictionPolicy="LFU"
38 />
39
40 <!-- This one is used to cache the distance infos per river as Lists -->
41 <cache name="annotations"
42 maxElementsInMemory="2000"
43 eternal="false"
44 timeToIdleSeconds="360"
45 timeToLiveSeconds="86400"
46 memoryStoreEvictionPolicy="LFU"
47 />
48
49 <!-- This one is used to cache the computed values.-->
50 <cache name="computed.values"
51 maxElementsInMemory="200"
52 eternal="false"
53 timeToLiveSeconds="172800"
54 overflowToDisk="true"
55 diskPersistent="true"
56 memoryStoreEvictionPolicy="LRU"
57 />
58
59 <!-- This one is used to cache the non-computed wst-values.-->
60 <cache name="wst-value-table-static"
61 maxElementsInMemory="200"
62 eternal="false"
63 timeToLiveSeconds="172800"
64 overflowToDisk="true"
65 diskPersistent="true"
66 memoryStoreEvictionPolicy="LRU"
67 />
68
69 <!-- This one is used for the SQL statements used by the static datacage -->
70 <cache name="datacage.db"
71 maxElementsInMemory="2000"
72 eternal="false"
73 timeToLiveSeconds="7200"
74 memoryStoreEvictionPolicy="LFU"
75 />
76
77 <!-- This one is used for the cross section next neighbor lookup -->
78 <cache name="cross-section-kms"
79 maxElementsInMemory="50"
80 eternal="false"
81 timeToLiveSeconds="7200"
82 memoryStoreEvictionPolicy="LRU"
83 />
84 </ehcache>

http://dive4elements.wald.intevation.org