base4j-common.3.6.7.source-code.ehcache.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"> <diskStore path="java.io.tmpdir/ehcache" /> <!-- 默认缓存 --> <defaultCache maxElementsInMemory="1000" eternal="false" timeToLiveSeconds="10" overflowToDisk="false" memoryStoreEvictionPolicy="FIFO" /> </ehcache>