QRORDER/target/classes/ehcache-shiro.xml

17 lines
577 B
XML
Raw Normal View History

2026-04-10 10:09:15 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ehcache updateCheck="false" name="shiroCache">
<diskStore path="java.io.tmpdir" />
<defaultCache eternal="false" maxElementsInMemory="1000"
overflowToDisk="false" diskPersistent="false" timeToIdleSeconds="3600"
timeToLiveSeconds="3600" memoryStoreEvictionPolicy="LRU" />
<cache name="authShiro"
maxElementsInMemory="10000"
eternal="false"
timeToIdleSeconds="3600000"
timeToLiveSeconds="3600000"
maxElementsOnDisk="10000000"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU" />
</ehcache>