详解ehcache.xml文件中cache配置参数
来源:互联网 发布:centos samba rpm 编辑:程序博客网 时间:2024/05/18 04:59
网上很多关于cache配置参数的解释不是很正确,现将其注释如下:
<defaultCache
maxElementsInMemory="10000"
//缓存中最大允许创建的对象数
eternal="false"
//缓存中对象是否为永久的,如果是,超时设置将被忽略,对象从不过期
timeToIdleSeconds="120"
//缓存数据钝化时间(设置对象在它过期之前的空闲时间)
timeToLiveSeconds="120"
//缓存数据的生存时间(设置对象在它过期之前的生存时间)
overflowToDisk="true"
//内存不足时,是否启用磁盘缓存
/>
<defaultCache
maxElementsInMemory="10000"
//缓存中最大允许创建的对象数
eternal="false"
//缓存中对象是否为永久的,如果是,超时设置将被忽略,对象从不过期
timeToIdleSeconds="120"
//缓存数据钝化时间(设置对象在它过期之前的空闲时间)
timeToLiveSeconds="120"
//缓存数据的生存时间(设置对象在它过期之前的生存时间)
overflowToDisk="true"
//内存不足时,是否启用磁盘缓存
/>
- 详解ehcache.xml文件中cache配置参数
- 详解ehcache.xml文件中cache配置参数
- 详解ehcache.xml文件中cache配置参数
- ehcache.xml文件中cache配置参数
- ehcache.xml文件配置详解
- Ehcache 中ehcache.xml 配置详解
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache 中ehcache.xml 配置详解和示例
- Ehcache配置参数详解
- 讲义2
- .net IO 类库学习
- ASE如何取得最大可用设备号 ?
- 如何在Windows Server 2003下安装NetBEUI
- 如何在Windows XP以上的版本中得知一个进程所使用的端口
- 详解ehcache.xml文件中cache配置参数
- META标签的奥妙
- Eclipse学习1-Eclipse简介
- 让网络通讯更自由 谈Java串行端口技术协议(转载来自新浪)
- 中国院士制度批判
- JCreator中文显示问题的解决
- 使网页元素可编辑
- 活跃于中文社区的部分华人专家
- 生活!