分布式-11-缓存

2019-10-04  本文已影响0人  宠辱不惊的咸鱼

Ehcache

<ehcache>
  <diskStore path=”java.io.tmpdir”/>
  <defaultCache 
    maxElementsInMemory="10000"
    eternal="false"
    timeToIdleSeconds="120"
    timeToLiveSeconds="120"
    overflowToDisk="true"
    maxElementsOnDisk="10000000"
    diskPersistent="false"
    diskExpiryThreadIntervalSeconds="120"
    memoryStoreEvictionPolicy="LRU"
  />
</ehcache>
上一篇 下一篇

猜你喜欢

热点阅读