Mercurial > dive4elements > river
changeset 2149:b5f3b29544ea
Added cache definition for hyks.
flys-artifacts/trunk@3731 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 20 Jan 2012 08:30:50 +0000 |
parents | 345a236f7075 |
children | 0fa37d4de13d |
files | flys-artifacts/ChangeLog flys-artifacts/doc/conf/cache.xml |
diffstat | 2 files changed, 25 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Jan 20 08:30:07 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Jan 20 08:30:50 2012 +0000 @@ -1,3 +1,7 @@ +2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * doc/conf/cache.xml: Added Cache for HYKS. + 2012-01-20 Felix Wolfsteller <felix.wolfsteller@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/HYKFactory.java:
--- a/flys-artifacts/doc/conf/cache.xml Fri Jan 20 08:30:07 2012 +0000 +++ b/flys-artifacts/doc/conf/cache.xml Fri Jan 20 08:30:50 2012 +0000 @@ -58,6 +58,16 @@ memoryStoreEvictionPolicy="LRU" /> + <!-- This one is used to cache the non-computed wst-values.--> + <cache name="wst-wq-value-table-static" + maxElementsInMemory="200" + eternal="false" + timeToLiveSeconds="172800" + overflowToDisk="true" + diskPersistent="true" + memoryStoreEvictionPolicy="LRU" + /> + <!-- This one is used for the SQL statements used by the static datacage --> <cache name="datacage.db" maxElementsInMemory="2000" @@ -80,7 +90,17 @@ eternal="false" timeToLiveSeconds="7200" memoryStoreEvictionPolicy="LRU" - overflowToDisk="true" + overflowToDisk="true" + diskPersistent="true" + /> + + <!-- This one is used to load single HYK Zones --> + <cache name="hykache" + maxElementsInMemory="500" + eternal="false" + timeToLiveSeconds="14400" + memoryStoreEvictionPolicy="LRU" + overflowToDisk="true" diskPersistent="true" />