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

hydra-cache.assembler.0.4.source-code.cache.xml Maven / Gradle / Ivy

The newest version!
    <!--
        Ehcache (http://ehcache.sourceforge.net) is used as one of the
        implementation as in memory Data Bank for Hydra Distributed
        Cache. This is the standard Ehcache configuration used by this
        implementation.
    -->

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

    <!--
        Hydra Cache does not rely on this configuration but it is always a
        good idea to specify one
    -->
    <defaultCache maxElementsInMemory="10000" eternal="false"
        timeToIdleSeconds="120" timeToLiveSeconds="120" overflowToDisk="true"
        diskSpoolBufferSizeMB="30" maxElementsOnDisk="10000000"
        diskPersistent="false" diskExpiryThreadIntervalSeconds="120"
        memoryStoreEvictionPolicy="LRU" />

    <!--
        Hydra Cache default in-memory data bank cache configuration
    -->
    <cache name="__hydra-default__" maxElementsInMemory="100000"
        maxElementsOnDisk="100000" eternal="false" overflowToDisk="true"
        diskSpoolBufferSizeMB="20" timeToIdleSeconds="300"
        timeToLiveSeconds="600" memoryStoreEvictionPolicy="LRU" />
        
    <!-- 
        You can specify your own cache storage context here. Hydra cache 
        will use them if the HTTP request context name matches the cache
        name configured here. For example if you configure a cache named
        "shoppingCart" to use it all PUT and GET operations have to be
        issued with URI like the following:
        /shoppingCart/yourCart1
        /shoppingCart/yourCart2
        
        <cache name="shoppingCart" maxElementsInMemory="100000"
        maxElementsOnDisk="100000" eternal="false" overflowToDisk="true"
        diskSpoolBufferSizeMB="20" timeToIdleSeconds="300"
        timeToLiveSeconds="600" memoryStoreEvictionPolicy="LRU" />
    -->

</ehcache>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy