annotate artifacts/doc/conf/cache.xml @ 9763:ce7c67445cbb 3.2.x

No more hacks for getting description in case of official lines In case the name contained one and only one number, that number had been returned as description because in that case, the name matched WQ.NUMBERS_PATTERN.
author Tom Gottfried <tom@intevation.de>
date Fri, 11 Nov 2022 18:12:26 +0100
parents 11646c8dfa61
children
rev   line source
373
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <ehcache>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
4 <diskStore path="java.io.tmpdir"/>
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
5
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
6 <defaultCache
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
7 maxElementsInMemory="1000"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
8 eternal="false"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
9 timeToIdleSeconds="120"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
10 timeToLiveSeconds="3600"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
11 overflowToDisk="true"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
12 maxElementsOnDisk="100000"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
13 diskPersistent="false"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 diskExpiryThreadIntervalSeconds="120"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 memoryStoreEvictionPolicy="LRU"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
16 />
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
17
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
18 <!-- This one is used for the WST value tables -->
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
19
374
91fbaa2744bf Added caching support for the wst value tables.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 373
diff changeset
20 <cache name="wst-value-table"
373
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21 maxElementsInMemory="20"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
22 maxElementsOnDisk="100"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
23 eternal="false"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
24 timeToIdleSeconds="360"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 overflowToDisk="true"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26 timeToLiveSeconds="14400"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
27 diskPersistent="true"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
28 memoryStoreEvictionPolicy="LRU"
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
29 />
644
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
30
2145
e92bc9b0ca1d DistanceInfoService now uses annotations from LocationProvider.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2144
diff changeset
31 <cache name="location-provider"
644
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
32 maxElementsInMemory="20"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
33 eternal="false"
2063
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
34 diskPersistent="true"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
35 overflowToDisk="true"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
36 timeToIdleSeconds="360"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
37 timeToLiveSeconds="86400"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
38 memoryStoreEvictionPolicy="LFU"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
39 />
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
40
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
41 <!-- This one is used to cache the computed values.-->
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
42 <cache name="computed.values"
705
853dceead0f4 Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 686
diff changeset
43 maxElementsInMemory="200"
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
44 eternal="false"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
45 timeToLiveSeconds="172800"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
46 overflowToDisk="true"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
47 diskPersistent="true"
705
853dceead0f4 Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 686
diff changeset
48 memoryStoreEvictionPolicy="LRU"
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
49 />
972
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
50
1722
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
51 <!-- This one is used to cache the non-computed wst-values.-->
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
52 <cache name="wst-value-table-static"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
53 maxElementsInMemory="200"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
54 eternal="false"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
55 timeToLiveSeconds="172800"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
56 overflowToDisk="true"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
57 diskPersistent="true"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
58 memoryStoreEvictionPolicy="LRU"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
59 />
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
60
8551
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
61 <!-- This one is used to cache the non-computed bedheight-values.-->
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
62 <cache name="bedheight-value-table-static"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
63 maxElementsInMemory="200"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
64 eternal="false"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
65 timeToLiveSeconds="172800"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
66 overflowToDisk="true"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
67 diskPersistent="true"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
68 memoryStoreEvictionPolicy="LRU"
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
69 />
11646c8dfa61 Actually configure a bedheight cache.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8033
diff changeset
70
2149
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
71 <!-- This one is used to cache the non-computed wst-values.-->
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
72 <cache name="wst-wq-value-table-static"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
73 maxElementsInMemory="200"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
74 eternal="false"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
75 timeToLiveSeconds="172800"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
76 overflowToDisk="true"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
77 diskPersistent="true"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
78 memoryStoreEvictionPolicy="LRU"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
79 />
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
80
972
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
81 <!-- This one is used for the SQL statements used by the static datacage -->
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
82 <cache name="datacage.db"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
83 maxElementsInMemory="2000"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
84 eternal="false"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
85 timeToLiveSeconds="7200"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
86 memoryStoreEvictionPolicy="LFU"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
87 />
1749
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
88
7471
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
89 <!-- This one is used to cache the recommendation nodes generated from datacage -->
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
90 <cache name="recommendations"
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
91 maxElementsInMemory="150"
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
92 eternal="false"
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
93 timeToLiveSeconds="1800"
7475
2e4d02207239 Datacage recommendations caching: Use LFU strategy to rotate parameter recommendations out earlier. This should be a better config in multiuser user setups because the more frequently used terminal state recs will survive longer.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7471
diff changeset
94 memoryStoreEvictionPolicy="LFU"
7471
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
95 overflowToDisk="false"
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
96 diskPersistent="false"
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
97 />
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
98
1749
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
99 <!-- This one is used for the cross section next neighbor lookup -->
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
100 <cache name="cross-section-kms"
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
101 maxElementsInMemory="50"
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
102 eternal="false"
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
103 timeToLiveSeconds="7200"
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
104 memoryStoreEvictionPolicy="LRU"
f7d890f4855f Added Service Service to lookup the Nth nearest neighbors for a set of given cross section ids and kms.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1722
diff changeset
105 />
1966
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
106
2119
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
107 <!-- This one is used to load chunks of the cross section lines -->
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
108 <cache name="fast-cross-section-lines"
2126
d626ae185305 Use the fast cross section lines from backend now.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2119
diff changeset
109 maxElementsInMemory="500"
2119
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
110 eternal="false"
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
111 timeToLiveSeconds="7200"
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
112 memoryStoreEvictionPolicy="LRU"
2149
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
113 overflowToDisk="true"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
114 diskPersistent="true"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
115 />
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
116
3287
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
117 <!-- This one is used to hold the S/Q overviews. -->
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
118 <cache name="sq-overviews"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
119 maxElementsInMemory="15"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
120 eternal="false"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
121 timeToLiveSeconds="7200"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
122 memoryStoreEvictionPolicy="LFU"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
123 overflowToDisk="true"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
124 diskPersistent="true"
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
125 />
30f157c7e466 SQ: Filter out meassures which don't have a 'Siebsatz'
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3219
diff changeset
126
2561
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
127 <!-- This one is used to hold the fixings overviews. -->
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
128 <cache name="fixings-overviews"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
129 maxElementsInMemory="15"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
130 eternal="false"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
131 timeToLiveSeconds="7200"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
132 memoryStoreEvictionPolicy="LFU"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
133 overflowToDisk="true"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
134 diskPersistent="true"
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
135 />
b3f6d49cdc80 Service to generate the data needed to build the "Fixerungen pro Fluss Uebersicht"
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2149
diff changeset
136
2619
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
137 <!-- This one is used to hold the data columns of fixings. -->
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
138 <cache name="fixings-columns"
2622
8bc1e1cb7f7b Fixed the fixings columns caching problem.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2619
diff changeset
139 maxElementsInMemory="70"
2619
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
140 eternal="false"
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
141 timeToLiveSeconds="7200"
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
142 memoryStoreEvictionPolicy="LFU"
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
143 overflowToDisk="true"
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
144 diskPersistent="true"
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
145 />
6ed24efc80de Loaded columns of fixings from database and store them into the cache.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2561
diff changeset
146
2149
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
147 <!-- This one is used to load single HYK Zones -->
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
148 <cache name="hykache"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
149 maxElementsInMemory="500"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
150 eternal="false"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
151 timeToLiveSeconds="14400"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
152 memoryStoreEvictionPolicy="LRU"
b5f3b29544ea Added cache definition for hyks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2145
diff changeset
153 overflowToDisk="true"
2126
d626ae185305 Use the fast cross section lines from backend now.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2119
diff changeset
154 diskPersistent="true"
2119
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
155 />
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
156
3143
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
157 <!-- This one is used to load gauge finders -->
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
158 <cache name="gauge-finders"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
159 maxElementsInMemory="15"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
160 eternal="false"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
161 timeToLiveSeconds="14400"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
162 memoryStoreEvictionPolicy="LRU"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
163 overflowToDisk="true"
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
164 diskPersistent="true"
6385
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
165 />
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
166
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
167 <!-- This one is used to associate the offical lines to the respective
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
168 main values. -->
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
169 <cache name="official-lines"
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
170 maxElementsInMemory="2"
ef08c4f57ede Artifacts: First part of the official lines guessing.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5838
diff changeset
171 timeToLiveSeconds="14400"
7471
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
172 />
fff862f4ef76 Experimental caching of datacage recommendations. The respective hook is called a lot and running the datacage over and over again when loading data can be expensive. So the generated recommendations are cached for some time.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6385
diff changeset
173
8033
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
174 <!-- This on is used to cache sediment loads of rivers. -->
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
175 <cache name="sediment-load-data"
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
176 maxElementsInMemory="3"
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
177 timeToLiveSeconds="86400"
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
178 />
5e3f4b4fcb28 New way to loaded sediment loads from database and cache it. The data structure a way more straight forward. TODO: Implement calculation on this basis.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7475
diff changeset
179
3143
29022c93027d FixA: Create a cached GaugeFinderFactory to access the gauge along a river
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2622
diff changeset
180
3219
fa30e6322ef3 Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 3143
diff changeset
181 <!-- This one is used for the cross section lookup
2080
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
182 Because of lazy fetching and relatively big amount of data, disabled
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
183 cache for now.
1966
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
184 <cache name="cross_sections"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
185 maxElementsInMemory="50"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
186 eternal="false"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
187 timeToLiveSeconds="86400"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
188 memoryStoreEvictionPolicy="LRU"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
189 />
2080
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
190 -->
373
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
191 </ehcache>

http://dive4elements.wald.intevation.org