diff flys-artifacts/doc/conf/cache.xml @ 2119:dc28ea60b53d

Added cached/chunked access to cross section lines. TODO: Use the FastCrossSectionLines. flys-artifacts/trunk@3689 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 16 Jan 2012 15:51:46 +0000
parents 0553e31d25e7
children d626ae185305
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/cache.xml	Mon Jan 16 13:40:32 2012 +0000
+++ b/flys-artifacts/doc/conf/cache.xml	Mon Jan 16 15:51:46 2012 +0000
@@ -92,6 +92,14 @@
            memoryStoreEvictionPolicy="LRU"
            />
 
+    <!-- This one is used to load chunks of the cross section lines  -->
+    <cache name="fast-cross-section-lines"
+           maxElementsInMemory="100"
+           eternal="false"
+           timeToLiveSeconds="7200"
+           memoryStoreEvictionPolicy="LRU"
+           />
+
     <!-- This one is used for the cross section lookup 
          Because of lazy fetching and relatively big amount of data, disabled
          cache for now.

http://dive4elements.wald.intevation.org