" >
站内搜索: 请输入搜索关键词

当前页面: 开发资料首页业界新闻ehcache 1.2 released

ehcache 1.2 released

摘要: 经过10个月的努力,ehcache1.2终于发布了,(恭喜恭喜),此次版本增加了很多呼吁强烈的特性:支持插拔式(pluggable),分布式缓存,对象缓存以及可序列化缓存,全新的缓存清除策略,事件监听器,等等 。
经过10个月的努力,ehcache1.2终于发布了,此次版本增加了很多用户呼吁强烈的特性:支持插拔式(pluggable),分布式缓存,对象缓存以及可序列化缓存,全新的缓存清除策略,事件监听器,等等 。

官方提到的新特性包括:

Flexible, extensible, high performance distributed caching. The default implementation supports cache discovery via multicast or manual configuration. Updates are delivered either asynchronously or synchronously via custom RMI connections. Additional discovery or delivery schemes can be plugged in by third parties.

New FIFO and LFU caching policies in addition to the standard LRU.
Introduced CacheManagerEventListener and CacheEventListener interfaces and default implementations.

Multiple CacheManagers per virtual machine.

Programmatic flushing of application state to persistent caches

Significant (up to 7 fold) DiskStore performance increases.

API for Objects in addition to Serializable. Non-serializable Objects can use all parts of ehcache except for DiskStore and replication. Two new methods on Element: getObjectValue and getKeyValue are the only API differences between the Serializable and Object APIs.
Backward Compatibility with ehcache-1.1. All users of ehcache-1.1 should be able to upgrade to ehcache-1.2.

Tested with Hibernate2.1.8 and Hibernate3.1.3, which can utilise all of the new features except for Object API and multiple session factories each using a different ehcache CacheManager. A new net.sf.ehcache.hibernate.EhCacheProvider makes those additional features available to Hibernate-3.1.3. A version of the new provider should make it into the Hibernate3.2 release.

Tested with ehcache-constructs.

Apache 2.0 license.
↑返回目录
前一篇: BPEL Repository 初始版本发布
后一篇: JasperServer 0.9.2 发布