08-07
28

Hibernate下各种Cache的缓存配置和特性

You have the option to tell Hibernate which caching implementation to use by specifying the name of a class that implements org.hibernate.cache.CacheProvider using the property hibernate.cache.provider_class.
 我整理了下,具体看下面的表格
Cache Provider class Type Cluster Safe Query Cache Supported
Hashtable
(not intended for production use)
org.hibernate.
cache.HashtableCacheProvider
memory   yes
EHCache org.hibernate.
cache.EhCacheProvider
memory, disk   yes
OSCache org.hibernate.
cache.OSCacheProvider
memory, disk   yes
SwarmCache org.hibernate.
cache.SwarmCacheProvider
clustered (ip multicast) yes (clustered invalidation)  
JBoss TreeCache org.hibernate.
cache.TreeCacheProvider
clustered (ip multicast), transactional yes (replication) yes (clock sync req.)

 

 

 



[本日志由 blurxx 于 2008-07-28 09:59 AM 编辑]
文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: Cache 缓存配置 特性
相关日志:
评论: 0 | 引用: 0 | 查看次数: 763
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭