All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.jdon_ehcache.xml Maven / Gradle / Ivy

<?xml version="1.0" encoding="UTF-8"?>
<!--from 2013, default cache is guava cache, configured in container.xml  -->        
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="ehcache.xsd" >

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

   
    <cacheManagerEventListenerFactory class="" properties=""/>

    <cacheManagerPeerListenerFactory
            class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"/>
    
    <defaultCache
            maxElementsInMemory="0"
            eternal="true" 
            overflowToDisk="false"
            memoryStoreEvictionPolicy="LRU"
            />

   
   <!-- in-memory cache
        when  eternal set to "true", overrides timeToLive and timeToIdle so that
        no expiration can take place. that means all domain model in-memory.
        timeToIdleSeconds value is adjust by your JVM CMS Old Gen size and transfer size one day
        http://www.jdon.com/44132
         
   
   <cache name="jdonCache" 
      maxElementsInMemory="130000"
      eternal="false"
      timeToIdleSeconds="129600" 
      timeToLiveSeconds="0"
      overflowToDisk="false"
      diskPersistent="false"
      memoryStoreEvictionPolicy="LRU" 
       /> 
   -->
  <cache name="jdonCache" 
      maxElementsInMemory="130000"
      eternal="true"
      overflowToDisk="false"
      diskPersistent="false"
      memoryStoreEvictionPolicy="FIFO" 
   />        


</ehcache>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy