<?xml version="1.0" encoding="UTF-8" ?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
<!--
java.io.tmpdir - Default temp file path 默认的 temp 文件目录
maxElementsInMemory:内存中最大缓存对象数.
maxElementsOnDisk:磁盘中最大缓存对象数,若是0表示无穷大.
eternal:Element是否永久
ehcache.xml
本文详细探讨了Ehcache的配置文件ehcache.xml,涵盖了缓存设置、内存和磁盘存储、过期策略等方面,旨在帮助开发者更好地理解和使用Ehcache进行缓存管理。
摘要由CSDN通过智能技术生成