diff 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
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/cache.xml	Mon May 30 09:19:57 2011 +0000
+++ b/flys-artifacts/doc/conf/cache.xml	Mon May 30 11:34:06 2011 +0000
@@ -27,4 +27,13 @@
            diskPersistent="true"
            memoryStoreEvictionPolicy="LRU"
            />
+
+    <!-- This one is used to cache the distance infos per river -->
+    <cache name="service-distanceinfo"
+           maxElementsInMemory="20"
+           eternal="false"
+           timeToIdleSeconds="360"
+           timeToLiveSeconds="86400"
+           memoryStoreEvictionPolicy="LFU"
+           />
 </ehcache>

http://dive4elements.wald.intevation.org