Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 1.22 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false">
  2.  
  3.     <diskStore path="java.io.tmpdir"/>
  4.  
  5.     <!--
  6.     Mandatory Default Cache configuration. These settings will be applied to caches
  7.     created programmtically using CacheManager.add(String cacheName).
  8.  
  9.     The defaultCache has an implicit name "default" which is a reserved cache name.
  10.     -->
  11.     <defaultCache
  12.             maxElementsInMemory="500"
  13.             eternal="false"
  14.             timeToIdleSeconds="120"
  15.             timeToLiveSeconds="120"
  16.             overflowToDisk="false"
  17.             />
  18.  
  19.     <cache name="com.hydrodesk.analytics.server.model.plant.Plant"
  20.            maxElementsInMemory="30"
  21.            eternal="false"
  22.            timeToIdleSeconds="600"
  23.            timeToLiveSeconds="900"
  24.            overflowToDisk="false"
  25.             />
  26.  
  27.     <cache name="org.hibernate.cache.StandardQueryCache"
  28.            maxElementsInMemory="10"
  29.            eternal="false"
  30.            timeToLiveSeconds="120"
  31.            overflowToDisk="false"/>
  32.  
  33.     <cache name="org.hibernate.cache.UpdateTimestampsCache"
  34.            maxElementsInMemory="10000"
  35.            eternal="true"/>
  36. </ehcache>