Java 缓存组件,Ehcache 2.5.4 发布
openkk 12年前
<p>Ehcache 2.5.4 发布,下载地址:<a class="name" title="Click to download ehcache-2.5.4-distribution.tar.gz" href="/misc/goto?guid=4958522157693359920">ehcache-2.5.4-distribution.tar.gz</a> (66.7 MB)。</p> <p>The major new capability of Ehcache 2.5 is enhanced cache resource management, specifically the ability to set the maximum size in bytes of a Cache or CacheManager. This offers the following additional benefits to Ehcache users:</p> <ul> <li>Ease of use. Tuning cache sizes is now as simple as setting the maximum number of bytes. No more setting maximum entry counts and juggling eviction parameters to approximate the maximum amount of system memory your cache can use.</li> <li>Greater efficiency. Ehcache now efficiently manages caches based on their memory footprint and can dynamically balance their resource use based on runtime size information.</li> </ul> <p><a href="/misc/goto?guid=4958189365813560239" target="_blank">EhCache </a>是一个纯Java的进程内缓存框架,具有快速、精干等特点,是Hibernate中默认的CacheProvider。</p> <p>主要的特性有:</p> <p>1. 快速.<br /> 2. 简单.<br /> 3. 多种缓存策略<br /> 4. 缓存数据有两级:内存和磁盘,因此无需担心容量问题<br /> 5. 缓存数据会在虚拟机重启的过程中写入磁盘<br /> 6. 可以通过RMI、可插入API等方式进行分布式缓存<br /> 7. 具有缓存和缓存管理器的侦听接口<br /> 8. 支持多缓存管理器实例,以及一个实例的多个缓存区域<br /> 9. 提供Hibernate的缓存实现<br /> 10. 等等</p>