<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="true"
         monitoring="autodetect" dynamicConfig="true">

    <!-- By default, Ehcache stored the cached files in temp folder. -->
    <!-- <diskStore path="java.io.tmpdir" /> -->

    <!-- Ask Ehcache to store cache in this path -->
    <diskStore path="java.io.tmpdir"/>

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

    <!-- Sample cache named cache1
    This cache contains a maximum in memory of 10000 elements, and will expire
    an element if it is idle for more than 5 minutes and lives for more than
    10 minutes.

    If there are more than 10000 elements it will overflow to the
    disk cache, which in this configuration will go to wherever java.io.tmp is
    defined on your system. On a standard Linux system this will be /tmp" -->
    <defaultCache
            maxElementsInMemory="1"
            eternal="true"
            overflowToDisk="true">
    </defaultCache>

    <cache name="repositoryCache"
           maxElementsInMemory="20000"
           eternal="false"
           timeToLiveSeconds="3600"
           timeToIdleSeconds="0"
           overflowToDisk="true"
           memoryStoreEvictionPolicy="LRU">
    </cache>

</ehcache>