sascha@373: <?xml version="1.0" encoding="UTF-8"?>
sascha@373: <ehcache>
sascha@373: 
sascha@373:     <diskStore path="java.io.tmpdir"/>
sascha@373: 
sascha@373:     <defaultCache
sascha@373:             maxElementsInMemory="1000"
sascha@373:             eternal="false"
sascha@373:             timeToIdleSeconds="120"
sascha@373:             timeToLiveSeconds="3600"
sascha@373:             overflowToDisk="true"
sascha@373:             maxElementsOnDisk="100000"
sascha@373:             diskPersistent="false"
sascha@373:             diskExpiryThreadIntervalSeconds="120"
sascha@373:             memoryStoreEvictionPolicy="LRU"
sascha@373:             />
sascha@373: 
sascha@373:     <!-- This one is used for the WST value tables -->
sascha@373: 
sascha@374:     <cache name="wst-value-table"
sascha@373:            maxElementsInMemory="20"
sascha@373:            maxElementsOnDisk="100"
sascha@373:            eternal="false"
sascha@373:            timeToIdleSeconds="360"
sascha@373:            overflowToDisk="true"
sascha@373:            timeToLiveSeconds="14400"
sascha@373:            diskPersistent="true"
sascha@373:            memoryStoreEvictionPolicy="LRU"
sascha@373:            />
sascha@644: 
felix@1073:     <!-- This one is used to cache the distance infos per river as Documents -->
sascha@644:     <cache name="service-distanceinfo"
sascha@644:            maxElementsInMemory="20"
sascha@644:            eternal="false"
sascha@644:            timeToIdleSeconds="360"
sascha@644:            timeToLiveSeconds="86400"
sascha@644:            memoryStoreEvictionPolicy="LFU"
sascha@644:            />
ingo@686: 
felix@1073:     <!-- This one is used to cache the distance infos per river as Lists -->
felix@1073:     <cache name="annotations"
sascha@1644:            maxElementsInMemory="2000"
felix@1073:            eternal="false"
felix@1073:            timeToIdleSeconds="360"
felix@1073:            timeToLiveSeconds="86400"
felix@1073:            memoryStoreEvictionPolicy="LFU"
felix@1073:            />
felix@1073: 
ingo@686:     <!-- This one is used to cache the computed values.-->
ingo@686:     <cache name="computed.values"
sascha@705:            maxElementsInMemory="200"
ingo@686:            eternal="false"
ingo@686:            timeToLiveSeconds="172800"
ingo@686:            overflowToDisk="true"
ingo@686:            diskPersistent="true"
sascha@705:            memoryStoreEvictionPolicy="LRU"
ingo@686:            />
sascha@972: 
felix@1722:     <!-- This one is used to cache the non-computed wst-values.-->
felix@1722:     <cache name="wst-value-table-static"
felix@1722:            maxElementsInMemory="200"
felix@1722:            eternal="false"
felix@1722:            timeToLiveSeconds="172800"
felix@1722:            overflowToDisk="true"
felix@1722:            diskPersistent="true"
felix@1722:            memoryStoreEvictionPolicy="LRU"
felix@1722:            />
felix@1722: 
sascha@972:     <!-- This one is used for the SQL statements used by the static datacage -->
sascha@972:     <cache name="datacage.db"
sascha@972:            maxElementsInMemory="2000"
sascha@972:            eternal="false"
sascha@972:            timeToLiveSeconds="7200"
sascha@972:            memoryStoreEvictionPolicy="LFU"
sascha@972:            />
sascha@1749: 
sascha@1749:     <!-- This one is used for the cross section next neighbor lookup -->
sascha@1749:     <cache name="cross-section-kms"
sascha@1749:            maxElementsInMemory="50"
sascha@1749:            eternal="false"
sascha@1749:            timeToLiveSeconds="7200"
sascha@1749:            memoryStoreEvictionPolicy="LRU"
sascha@1749:            />
sascha@373: </ehcache>