annotate flys-artifacts/doc/conf/cache.xml @ 2125:7a8f52267a5c

Fix stateId/hash assignment in WaterlevelFacet. flys-artifacts/trunk@3695 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 17 Jan 2012 09:00:30 +0000
parents dc28ea60b53d
children d626ae185305
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
1073
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
31 <!-- This one is used to cache the distance infos per river as Documents -->
644
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
32 <cache name="service-distanceinfo"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
33 maxElementsInMemory="20"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
34 eternal="false"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
35 timeToIdleSeconds="360"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
36 timeToLiveSeconds="86400"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
37 memoryStoreEvictionPolicy="LFU"
02c0cce0e469 Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 374
diff changeset
38 />
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
39
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
40 <cache name="location-provider"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
41 maxElementsInMemory="5000"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
42 eternal="false"
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
43 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
44 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
45 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
46 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
47 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
48 />
97a25b54eea3 Part 1 of #125: added a description for a location to the WaterlevelExport.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1966
diff changeset
49
1073
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
50 <!-- This one is used to cache the distance infos per river as Lists -->
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
51 <cache name="annotations"
1644
2df1f9facd6c Cache: Increased number of cached annotations.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1073
diff changeset
52 maxElementsInMemory="2000"
1073
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
53 eternal="false"
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
54 timeToIdleSeconds="360"
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
55 timeToLiveSeconds="86400"
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
56 memoryStoreEvictionPolicy="LFU"
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
57 />
107d44b3455d Added conf for factory and rule for MainValueArtifacts, missing ChangeLog entry.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 972
diff changeset
58
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
59 <!-- 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
60 <cache name="computed.values"
705
853dceead0f4 Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 686
diff changeset
61 maxElementsInMemory="200"
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
62 eternal="false"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
63 timeToLiveSeconds="172800"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
64 overflowToDisk="true"
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
65 diskPersistent="true"
705
853dceead0f4 Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 686
diff changeset
66 memoryStoreEvictionPolicy="LRU"
686
3dc61e00385e Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 644
diff changeset
67 />
972
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
68
1722
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
69 <!-- This one is used to cache the non-computed wst-values.-->
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
70 <cache name="wst-value-table-static"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
71 maxElementsInMemory="200"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
72 eternal="false"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
73 timeToLiveSeconds="172800"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
74 overflowToDisk="true"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
75 diskPersistent="true"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
76 memoryStoreEvictionPolicy="LRU"
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
77 />
fb4fb1c67c35 Added WKmsFactory.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1644
diff changeset
78
972
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
79 <!-- 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
80 <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
81 maxElementsInMemory="2000"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
82 eternal="false"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
83 timeToLiveSeconds="7200"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
84 memoryStoreEvictionPolicy="LFU"
0c8aca463bd4 Added caching support for the static part of the datacage.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 705
diff changeset
85 />
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
86
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
87 <!-- 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
88 <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
89 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
90 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
91 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
92 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
93 />
1966
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
94
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
95 <!-- 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
96 <cache name="fast-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
97 maxElementsInMemory="100"
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
98 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
99 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
100 memoryStoreEvictionPolicy="LRU"
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
101 />
dc28ea60b53d Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 2080
diff changeset
102
2080
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
103 <!-- This one is used for the cross section lookup
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
104 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
105 cache for now.
1966
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
106 <cache name="cross_sections"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
107 maxElementsInMemory="50"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
108 eternal="false"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
109 timeToLiveSeconds="86400"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
110 memoryStoreEvictionPolicy="LRU"
f572536af56c Configure cross_sections cache.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1749
diff changeset
111 />
2080
0553e31d25e7 Disable cross section cache to avoid lazy initialization issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 2063
diff changeset
112 -->
373
7f7d6037d242 Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
113 </ehcache>

http://dive4elements.wald.intevation.org