Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/cache.xml @ 3818:dc18457b1cef
merged flys-artifacts/pre2.7-2012-03-16
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:59 +0200 |
parents | b3f6d49cdc80 |
children | 6ed24efc80de |
comparison
equal
deleted
inserted
replaced
2456:60ab1054069d | 3818:dc18457b1cef |
---|---|
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 <cache name="location-provider" | |
32 maxElementsInMemory="20" | |
33 eternal="false" | |
34 diskPersistent="true" | |
35 overflowToDisk="true" | |
36 timeToIdleSeconds="360" | |
37 timeToLiveSeconds="86400" | |
38 memoryStoreEvictionPolicy="LFU" | |
39 /> | |
40 | |
41 <!-- This one is used to cache the computed values.--> | |
42 <cache name="computed.values" | |
43 maxElementsInMemory="200" | |
44 eternal="false" | |
45 timeToLiveSeconds="172800" | |
46 overflowToDisk="true" | |
47 diskPersistent="true" | |
48 memoryStoreEvictionPolicy="LRU" | |
49 /> | |
50 | |
51 <!-- This one is used to cache the non-computed wst-values.--> | |
52 <cache name="wst-value-table-static" | |
53 maxElementsInMemory="200" | |
54 eternal="false" | |
55 timeToLiveSeconds="172800" | |
56 overflowToDisk="true" | |
57 diskPersistent="true" | |
58 memoryStoreEvictionPolicy="LRU" | |
59 /> | |
60 | |
61 <!-- This one is used to cache the non-computed wst-values.--> | |
62 <cache name="wst-wq-value-table-static" | |
63 maxElementsInMemory="200" | |
64 eternal="false" | |
65 timeToLiveSeconds="172800" | |
66 overflowToDisk="true" | |
67 diskPersistent="true" | |
68 memoryStoreEvictionPolicy="LRU" | |
69 /> | |
70 | |
71 <!-- This one is used for the SQL statements used by the static datacage --> | |
72 <cache name="datacage.db" | |
73 maxElementsInMemory="2000" | |
74 eternal="false" | |
75 timeToLiveSeconds="7200" | |
76 memoryStoreEvictionPolicy="LFU" | |
77 /> | |
78 | |
79 <!-- This one is used for the cross section next neighbor lookup --> | |
80 <cache name="cross-section-kms" | |
81 maxElementsInMemory="50" | |
82 eternal="false" | |
83 timeToLiveSeconds="7200" | |
84 memoryStoreEvictionPolicy="LRU" | |
85 /> | |
86 | |
87 <!-- This one is used to load chunks of the cross section lines --> | |
88 <cache name="fast-cross-section-lines" | |
89 maxElementsInMemory="500" | |
90 eternal="false" | |
91 timeToLiveSeconds="7200" | |
92 memoryStoreEvictionPolicy="LRU" | |
93 overflowToDisk="true" | |
94 diskPersistent="true" | |
95 /> | |
96 | |
97 <!-- This one is used to hold the fixings overviews. --> | |
98 <cache name="fixings-overviews" | |
99 maxElementsInMemory="15" | |
100 eternal="false" | |
101 timeToLiveSeconds="7200" | |
102 memoryStoreEvictionPolicy="LFU" | |
103 overflowToDisk="true" | |
104 diskPersistent="true" | |
105 /> | |
106 | |
107 <!-- This one is used to load single HYK Zones --> | |
108 <cache name="hykache" | |
109 maxElementsInMemory="500" | |
110 eternal="false" | |
111 timeToLiveSeconds="14400" | |
112 memoryStoreEvictionPolicy="LRU" | |
113 overflowToDisk="true" | |
114 diskPersistent="true" | |
115 /> | |
116 | |
117 <!-- This one is used for the cross section lookup | |
118 Because of lazy fetching and relatively big amount of data, disabled | |
119 cache for now. | |
120 <cache name="cross_sections" | |
121 maxElementsInMemory="50" | |
122 eternal="false" | |
123 timeToLiveSeconds="86400" | |
124 memoryStoreEvictionPolicy="LRU" | |
125 /> | |
126 --> | |
127 </ehcache> |