Mercurial > dive4elements > river
comparison artifacts/doc/conf/cache.xml @ 7730:e1b831fe435a slt-simplify-cross-sections
Merged default into slt-simplify-cross-sections branch and updated package and class names.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 20 Jan 2014 14:04:20 +0100 |
parents | 2e4d02207239 |
children | 5e3f4b4fcb28 |
comparison
equal
deleted
inserted
replaced
5084:ca45dd039b54 | 7730:e1b831fe435a |
---|---|
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 to cache the recommendation nodes generated from datacage --> | |
80 <cache name="recommendations" | |
81 maxElementsInMemory="150" | |
82 eternal="false" | |
83 timeToLiveSeconds="1800" | |
84 memoryStoreEvictionPolicy="LFU" | |
85 overflowToDisk="false" | |
86 diskPersistent="false" | |
87 /> | |
88 | |
89 <!-- This one is used for the cross section next neighbor lookup --> | |
90 <cache name="cross-section-kms" | |
91 maxElementsInMemory="50" | |
92 eternal="false" | |
93 timeToLiveSeconds="7200" | |
94 memoryStoreEvictionPolicy="LRU" | |
95 /> | |
96 | |
97 <!-- This one is used to load chunks of the cross section lines --> | |
98 <cache name="fast-cross-section-lines" | |
99 maxElementsInMemory="500" | |
100 eternal="false" | |
101 timeToLiveSeconds="7200" | |
102 memoryStoreEvictionPolicy="LRU" | |
103 overflowToDisk="true" | |
104 diskPersistent="true" | |
105 /> | |
106 | |
107 <!-- This one is used to hold the S/Q overviews. --> | |
108 <cache name="sq-overviews" | |
109 maxElementsInMemory="15" | |
110 eternal="false" | |
111 timeToLiveSeconds="7200" | |
112 memoryStoreEvictionPolicy="LFU" | |
113 overflowToDisk="true" | |
114 diskPersistent="true" | |
115 /> | |
116 | |
117 <!-- This one is used to hold the fixings overviews. --> | |
118 <cache name="fixings-overviews" | |
119 maxElementsInMemory="15" | |
120 eternal="false" | |
121 timeToLiveSeconds="7200" | |
122 memoryStoreEvictionPolicy="LFU" | |
123 overflowToDisk="true" | |
124 diskPersistent="true" | |
125 /> | |
126 | |
127 <!-- This one is used to hold the data columns of fixings. --> | |
128 <cache name="fixings-columns" | |
129 maxElementsInMemory="70" | |
130 eternal="false" | |
131 timeToLiveSeconds="7200" | |
132 memoryStoreEvictionPolicy="LFU" | |
133 overflowToDisk="true" | |
134 diskPersistent="true" | |
135 /> | |
136 | |
137 <!-- This one is used to load single HYK Zones --> | |
138 <cache name="hykache" | |
139 maxElementsInMemory="500" | |
140 eternal="false" | |
141 timeToLiveSeconds="14400" | |
142 memoryStoreEvictionPolicy="LRU" | |
143 overflowToDisk="true" | |
144 diskPersistent="true" | |
145 /> | |
146 | |
147 <!-- This one is used to load gauge finders --> | |
148 <cache name="gauge-finders" | |
149 maxElementsInMemory="15" | |
150 eternal="false" | |
151 timeToLiveSeconds="14400" | |
152 memoryStoreEvictionPolicy="LRU" | |
153 overflowToDisk="true" | |
154 diskPersistent="true" | |
155 /> | |
156 | |
157 <!-- This one is used to associate the offical lines to the respective | |
158 main values. --> | |
159 <cache name="official-lines" | |
160 maxElementsInMemory="2" | |
161 timeToLiveSeconds="14400" | |
162 /> | |
163 | |
164 | |
165 <!-- This one is used for the cross section lookup | |
166 Because of lazy fetching and relatively big amount of data, disabled | |
167 cache for now. | |
168 <cache name="cross_sections" | |
169 maxElementsInMemory="50" | |
170 eternal="false" | |
171 timeToLiveSeconds="86400" | |
172 memoryStoreEvictionPolicy="LRU" | |
173 /> | |
174 --> | |
175 </ehcache> |