|
欢迎加入运维网交流群:263444886
Ehcache 3.0.0.m4 发布,此版本有以下改进:
- 简化和重构 write-behind 实现
- 配置 Cache 时候可以传递 CacheLoaderWriter, Serializer 和 Copier 的实例
- Handling of exceptions from user provided Expiry, EvictionVeto and EvictionPrioritizer,
- OSGi readiness - that is the ehcache 3 jar carries valid bundle information in its manifest,
- Fixes to tiering which would expose internal state,
- Many more improvements and bug fixes
详细信息请查看发行页面:
https://github.com/ehcache/ehcache3/releases
下载地址如下:
- ehcache-3.0.0.m4.jar
- Source code (zip)
- Source code (tar.gz)
EhCache 是一个纯Java的进程内缓存框架,具有快速、精干等特点,是Hibernate中默认的CacheProvider。
下图是 Ehcache 在应用程序中的位置:
主要的特性有:
1. 快速.
2. 简单.
3. 多种缓存策略
4. 缓存数据有两级:内存和磁盘,因此无需担心容量问题
5. 缓存数据会在虚拟机重启的过程中写入磁盘
6. 可以通过RMI、可插入API等方式进行分布式缓存
7. 具有缓存和缓存管理器的侦听接口
8. 支持多缓存管理器实例,以及一个实例的多个缓存区域
9. 提供Hibernate的缓存实现
10. 等等 |
|
|