blob: 22f2f5585b948a719cc35f40e8d14296894fddbe [file] [log] [blame]
<ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd"
updateCheck="true" monitoring="autodetect" dynamicConfig="true">
<defaultCache eternal='true' overflowToDisk='false'/>
<!--maxBytesLocalHeap="200M"-->
<diskStore path="./cache_store"/>
<!-- EM -->
<cache name='authorization'
timeToLiveSeconds="1000"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="100"
overflowToDisk='false'/>
<cache name='access_token'
timeToIdleSeconds="3600"
timeToLiveSeconds="15000"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="500"
overflowToDisk='false'/>
<!-- <cache name="named_vc"
eternal="true"
memoryStoreEvictionPolicy="LRU"
maxBytesLocalHeap="256M"
maxBytesLocalDisk="2G"
diskExpiryThreadIntervalSeconds = "120" >
<persistence strategy="localTempSwap"/>
<sizeOfPolicy maxDepth="3000" maxDepthExceededBehavior="abort" />
-->
<cache name="total_results"
timeToIdleSeconds="3600"
timeToLiveSeconds="15000"
eternal='false'
memoryStoreEvictionPolicy="LRU"
overflowToDisk='false'
maxEntriesLocalHeap="500"
/>
</ehcache>