1234567891011121314151617181920212223242526 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false"
- monitoring="autodetect" dynamicConfig="true">
- <defaultCache maxEntriesLocalHeap="10000" eternal="false"
- timeToIdleSeconds="0" timeToLiveSeconds="0" diskSpoolBufferSizeMB="30"
- maxEntriesLocalDisk="10000000" diskExpiryThreadIntervalSeconds="120">
- <persistence strategy="localTempSwap" />
- <terracotta clustered="true" consistency="strong">
- <nonstop enabled="true"/>
- </terracotta>
- </defaultCache>
- <diskStore path="java.io.tmpdir" />
-
- <cache name="userCache" maxElementsInMemory="50000"
- eternal="false" timeToIdleSeconds="300" overflowToDisk="false" timeToLiveSeconds="300">
- <terracotta clustered="true" consistency="strong">
- <nonstop enabled="true"/>
- </terracotta>
- </cache>
- <terracottaConfig url="192.168.219.183:9510,192.168.219.184:9510" rejoin="true"/>
- </ehcache>
|