ASP教程 PHP教程 JSP教程 CGI教程 XML教程 ASP.NET教程
  • JAVA教程
  • 当前位置:教程 > 程序设计 > JAVA教程 > 正文

    ehcache 1.2 released

    编辑:教程网 来源:网络 时间:2011年11月07日 16:41
    经过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.
  • 原文来自 教程网 转载请注明:http://www.websmill.com/chengxu/java/31850.html

  • 上一篇:JBoss 收购 Rosetta ESB
  • 下一篇:Java Annotation 高级应用