github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/docs/examples/example_osv_java_servlet/src/main/resources/cache/ehcache.xml (about)

     1  <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     2           xsi:noNamespaceSchemaLocation="ehcache.xsd"
     3           updateCheck="false">
     4      <diskStore path="java.io.tmpdir"/>
     5  
     6      <!-- objects are evicted from the cache every 60 seconds -->
     7      <cache name="vets"
     8             timeToLiveSeconds="60"
     9             maxElementsInMemory="100"
    10             eternal="false"
    11             overflowToDisk="false"
    12             maxElementsOnDisk="10000000"
    13             diskPersistent="false"
    14             diskExpiryThreadIntervalSeconds="1"
    15             memoryStoreEvictionPolicy="LRU"/>
    16  
    17  </ehcache>