blob: 61b675f0dbb77664ac3589593152c6c0b7af7d46 [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"/>
<cache name='id_tokens'
eternal='true'
maxElementsOnDisk="10000000"
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="50"
overflowToDisk='true'/>
<cache name='id_tokens_inv'
eternal='true'
maxElementsOnDisk="10000000"
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="50"
overflowToDisk='true'/>
<cache name='auth_codes'
timeToIdleSeconds="600"
eternal='false'
memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="100"
overflowToDisk='false'/>
<cache name='resources'
eternal='false'
overflowToDisk='false'
maxEntriesLocalHeap="60"
timeToIdleSeconds="172800"
diskSpoolBufferSizeMB="30"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU"
/>
<!-- 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>