Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/cache.xml @ 3468:f37e7e8907cb
merged flys-artifacts/2.8.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:39 +0200 |
parents | 30f157c7e466 |
children |
comparison
equal
deleted
inserted
replaced
3387:5ffad8bde8ad | 3468:f37e7e8907cb |
---|---|
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 S/Q overviews. --> | |
98 <cache name="sq-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 hold the fixings overviews. --> | |
108 <cache name="fixings-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 data columns of fixings. --> | |
118 <cache name="fixings-columns" | |
119 maxElementsInMemory="70" | |
120 eternal="false" | |
121 timeToLiveSeconds="7200" | |
122 memoryStoreEvictionPolicy="LFU" | |
123 overflowToDisk="true" | |
124 diskPersistent="true" | |
125 /> | |
126 | |
127 <!-- This one is used to load single HYK Zones --> | |
128 <cache name="hykache" | |
129 maxElementsInMemory="500" | |
130 eternal="false" | |
131 timeToLiveSeconds="14400" | |
132 memoryStoreEvictionPolicy="LRU" | |
133 overflowToDisk="true" | |
134 diskPersistent="true" | |
135 /> | |
136 | |
137 <!-- This one is used to load gauge finders --> | |
138 <cache name="gauge-finders" | |
139 maxElementsInMemory="15" | |
140 eternal="false" | |
141 timeToLiveSeconds="14400" | |
142 memoryStoreEvictionPolicy="LRU" | |
143 overflowToDisk="true" | |
144 diskPersistent="true" | |
145 /> | |
146 | |
147 <!-- This one is used for the cross section lookup | |
148 Because of lazy fetching and relatively big amount of data, disabled | |
149 cache for now. | |
150 <cache name="cross_sections" | |
151 maxElementsInMemory="50" | |
152 eternal="false" | |
153 timeToLiveSeconds="86400" | |
154 memoryStoreEvictionPolicy="LRU" | |
155 /> | |
156 --> | |
157 </ehcache> |