Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/cache.xml @ 644:02c0cce0e469
Introduce a cache for the distance-info service
flys-artifacts/trunk@2028 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 30 May 2011 11:34:06 +0000 |
parents | 91fbaa2744bf |
children | 3dc61e00385e |
comparison
equal
deleted
inserted
replaced
643:a9bde508824a | 644:02c0cce0e469 |
---|---|
25 overflowToDisk="true" | 25 overflowToDisk="true" |
26 timeToLiveSeconds="14400" | 26 timeToLiveSeconds="14400" |
27 diskPersistent="true" | 27 diskPersistent="true" |
28 memoryStoreEvictionPolicy="LRU" | 28 memoryStoreEvictionPolicy="LRU" |
29 /> | 29 /> |
30 | |
31 <!-- This one is used to cache the distance infos per river --> | |
32 <cache name="service-distanceinfo" | |
33 maxElementsInMemory="20" | |
34 eternal="false" | |
35 timeToIdleSeconds="360" | |
36 timeToLiveSeconds="86400" | |
37 memoryStoreEvictionPolicy="LFU" | |
38 /> | |
30 </ehcache> | 39 </ehcache> |