Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/cache.xml @ 373:7f7d6037d242
Added ehcache support.
flys-artifacts/trunk@1782 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 29 Apr 2011 16:56:37 +0000 |
parents | |
children | 91fbaa2744bf |
comparison
equal
deleted
inserted
replaced
372:fc3cf0ef777e | 373:7f7d6037d242 |
---|---|
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-cache" | |
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 </ehcache> |