Ehcache 刚刚把 2.7.0 版本上传到 SourceForge 上。
官网上对该版本的描述是:在大规模应用下更好的性能表现。同时发布的还有 BigMemory 4.0,这是 Ehcache 企业版的特性,让 Ehcache 实现 off-heap 存储。
详细改进内容包括:
[EHC-394] - Prevent Elements to be stored in both MemoryStore and ClusteredStore
[EHC-739] - OSGi headers in the MANIFEST
[EHC-925] - Unsafe type cast in class net.sf.ehcache.event.RegisteredEventListeners constructor
[EHC-932] - Premature eviction notifications
[EHC-939] - BlockingCache.get sometimes returns null without holding lock
[EHC-948] - Clustered caches should honor sizeOf policy
[EHC-951] - Improve error messages for ARC
[EHC-970] - CacheManager.addCacheIfAbsent is not thread-safe
[EHC-979] - Try and get rid of Unsafe usage in net.sf.ehcache.util.concurrent.*
[EHC-980] - Remove key level pinning
[EHC-981] - Remove PinningConfiguration.Store#LOCALHEAP
[EHC-986] - Log/Warn when user sets a CachingTier to unbound
[EHC-992] - Dynamic maxEntriesLocalHeap not honored
[EHC-995] - CHMv8 internalReplace doesn't account for Element.equals
EhCache 是一个纯Java的进程内缓存框架,具有快速、精干等特点,是Hibernate中默认的CacheProvider。
下载地址:http://sourceforge.net/projects/ehcache/files/ehcache/ehcache-2.7.0/ehcache-2.7.0-distribution.tar.gz/download
来自:开源中国社区