- ·上一篇文章:6.5 CacheKit
- ·下一篇文章:7.1 概述
6.6 ehcache.xml 简介
由 厦门小懒懒 创建, 最后一次修改 2016-10-06 EhCache 的使用需要有 ehcache.xml 配置文件支持,该配置文件中配置了很多 cache 节点, 每个 cache 节点会配置一个 name 属性,例如:<cache name="blog" …>,该属性是 CacheKit 取值所必须的。其它配置项如 eternal、overflowToDisk、timeToIdleSeconds、 timeToLiveSeconds 详见 EhCache 官方文档。
6.6 ehcache.xml 简介