view flys-artifacts/doc/conf/cache.xml @ 686:3dc61e00385e facets-slt

Merged with trunk and introduced hashing of computed values. flys-artifacts/branches/facets-slt@2126 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 15 Jun 2011 15:28:54 +0000
parents 02c0cce0e469
children 853dceead0f4
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<ehcache>

    <diskStore path="java.io.tmpdir"/>

    <defaultCache
            maxElementsInMemory="1000"
            eternal="false"
            timeToIdleSeconds="120"
            timeToLiveSeconds="3600"
            overflowToDisk="true"
            maxElementsOnDisk="100000"
            diskPersistent="false"
            diskExpiryThreadIntervalSeconds="120"
            memoryStoreEvictionPolicy="LRU"
            />

    <!-- This one is used for the WST value tables -->

    <cache name="wst-value-table"
           maxElementsInMemory="20"
           maxElementsOnDisk="100"
           eternal="false"
           timeToIdleSeconds="360"
           overflowToDisk="true"
           timeToLiveSeconds="14400"
           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"
           />

    <!-- This one is used to cache the computed values.-->
    <cache name="computed.values"
           maxElementsInMemory="1000"
           eternal="false"
           timeToLiveSeconds="172800"
           overflowToDisk="true"
           diskPersistent="true"
           memoryStoreEvictionPolicy="LFU"
           />
</ehcache>

http://dive4elements.wald.intevation.org