ehcache.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false"
  4. monitoring="autodetect" dynamicConfig="true">
  5. <diskStore path="java.io.tmpdir" />
  6. <defaultCache
  7. maxElementsInMemory="10000"
  8. eternal="false"
  9. timeToIdleSeconds="1800"
  10. timeToLiveSeconds="1800"
  11. maxElementsOnDisk="10000000"
  12. diskExpiryThreadIntervalSeconds="120"
  13. memoryStoreEvictionPolicy="LRU" >
  14. <terracotta clustered="false" />
  15. </defaultCache>
  16. <cache name="MINI_USER_CACHE"
  17. maxElementsInMemory="5000"
  18. eternal="false"
  19. timeToIdleSeconds="1200"
  20. timeToLiveSeconds="1200"
  21. maxElementsOnDisk="1000000"
  22. diskExpiryThreadIntervalSeconds="120"
  23. memoryStoreEvictionPolicy="LRU"
  24. overflowToDisk="false">
  25. <terracotta clustered="false" />
  26. </cache>
  27. </ehcache>