<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> --> | |
</ehcache> |