首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 结合远程缓存和本地缓存,例如memcached,redis,ttserver,memcachedb等等

结合远程缓存和本地缓存,例如memcached,redis,ttserver,memcachedb等等

资 源 简 介

1.feature multicache4j用于为Java集成各种cache组件: * 方便集成各种remote cache * memcached (支持组件spymemcached) * memcacheq (支持组件spymemcached) * memcachedb (支持组件spymemcached) * ttserver (支持组件spymemcached, ttserverclient) * redis (支持组件jedis) * 方便集成各种local cache * ehcache * 基于对象池技术管理客户端连接对象,网络断开能够自动重连 * 基于Pattern Mapping进行哈希映射 * 支持remote cache和local cache的混合缓存 * 支持local cache的单独使用 2.usage multi cache (remote + local, or remote , or local):混合使用远程与本地Cache 适用场景:单点应用+集群Cache MultiCacheFactory.getInstance().set("foo", "bar");MultiCacheFactory.getInstance().get("foo"); * remote cache:单独使用远程Cache 适用场景:多点应用+集群Cache RemoteCacheFactory.getInstance().set("foo", "bar");RemoteCacheFactory.getInstance().get("foo");RemoteCacheFactory.getInstance().del("foo"); * local cac
VIP VIP
0.249769s