<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../main/config/ehcache.xsd"
 name="cacheManagerOff"
 monitoring="off">

    <!-- This does not work, because the java.io.tmpdir gets replaced before the property replacement-->
    <diskStore path="${specialdir}/subdirectory/nextone"/>

    <defaultCache
        maxElementsInMemory="10"
        eternal="false"
        timeToIdleSeconds="5"
        timeToLiveSeconds="10"
        overflowToDisk="false"
        />

    <!-- Sample cache named sampleCache1 -->
    <cache name="sampleCache1"
        maxElementsInMemory="10000"
        eternal="false"
        timeToIdleSeconds="360"
        timeToLiveSeconds="1000"
        overflowToDisk="false"
        />

    <!-- Sample cache named sampleCache2 -->
    <cache name="sampleCache2"
        maxElementsInMemory="1000"
        eternal="true"
        timeToIdleSeconds="0"
        timeToLiveSeconds="0"
        overflowToDisk="false"
        />

</ehcache>
