Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/cache.xml @ 743:e95e6df97e55
#177 Commented out the code that generates the series names in discharge curves. This code currently generates memory problems and stops the server accepting new http requests.
flys-artifacts/trunk@2245 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 27 Jun 2011 07:45:32 +0000 |
parents | 853dceead0f4 |
children | 0c8aca463bd4 |
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 |
02c0cce0e469
Introduce a cache for the distance-info service
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
374
diff
changeset
|
31 <!-- This one is used to cache the distance infos per river --> |
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 |
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
40 <!-- 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
|
41 <cache name="computed.values" |
705
853dceead0f4
Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
686
diff
changeset
|
42 maxElementsInMemory="200" |
686
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
43 eternal="false" |
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
44 timeToLiveSeconds="172800" |
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
45 overflowToDisk="true" |
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
46 diskPersistent="true" |
705
853dceead0f4
Only generate facets when needed.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
686
diff
changeset
|
47 memoryStoreEvictionPolicy="LRU" |
686
3dc61e00385e
Merged with trunk and introduced hashing of computed values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
644
diff
changeset
|
48 /> |
373
7f7d6037d242
Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
49 </ehcache> |