Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/cache.xml @ 430:7ab81ff32111 2.3
merged flys-artifacts/2.3
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:10 +0200 |
parents | 91fbaa2744bf |
children | 02c0cce0e469 |
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 /> |
7f7d6037d242
Added ehcache support.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
30 </ehcache> |