发布于 2015-08-06 04:03:03 | 222 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Redisson Redis客户端

Redisson 是基于Redis服务之上构建的分布式、可伸缩的Java数据结构,高级的Redis客户端。


Redisson 2.1.0 发布,此版本更新内容如下:

新特性:

  • RTopic subscribtion/unsubscription status listener added

  • RSet: removeRandom and removeRandomAsync methods added

改进:

  • RList: retainAll,containsAll, indexOf, lastIndexOf optimization

重要 API 改进:

  • findKeysByPattern response interface changed to Collection

  • RTopic message listener interface changed

Bug 修复:

  • NPE during cluster mode start

  • timeout timer interval calculation

  • RBatch NPE's with very big commands list

  • RBucket.set with timeout

7 月 26 日发布了 Redisson 2.0.0 版本,包含一个新的自身异步和锁自由 Redis 客户端。

其他改进:

  • Feature - new RObject methods: move, moveAsync, migrate, migrateAsync

  • Feature - new async interfaces: RAsyncMap, RAtomicLongAsync, RBlockingQueueAsync, RCollectionAsync, RDequeAsync, RExpirableAsync, RHyperLogLogAsync, RListAsync, RObjectAsync, RQueueAsync, RScriptAsync, RSetAsync, RTopicAsync

  • Feature - multiple commands batch (Redis pipelining) support via Redisson.createBatch method

  • Feature - new methods flushall, deleteAsync, delete, deleteByPatternAsync, deleteByPattern, findKeysByPatternAsync, findKeysByPattern added to RedissonClient interface

  • Improvement - closed channel detection speedup

详细改进内容请看发行说明

Redisson 是基于Redis服务之上构建的分布式、可伸缩的Java数据结构,高级的Redis客户端。

Redisson 是使用熟悉的Java数据结构来发挥Redis的威力,基于lettuce Redis客户端和Netty 4 ,兼容 Redis 2.6+ and JDK 1.6+,使用Apache License 2.0授权协议,阅读 wiki 来获取更多使用信息

哨兵服务模式:

  • 自动发现主从服务

  • 自动发现新主服务

  • 自动发现新从服务

  • 自动发现从服务上下线切换

主服务写,从服务读

主从模式:用从服务读,主服务写

单一服务模式: 使用同一个服务器读取写入

  • 分布式 java.util.List 

  • 分布式 java.util.Set 

  • 分布式 java.util.SortedSet 

  • 分布式 java.util.Queue 

  • 分布式 of java.util.Deque 

  • 分布式 java.util.Map 

  • 分布式 java.util.concurrent.ConcurrentMap 

  • 通过TTL实现可重入 java.util.concurrent.locks.Lock 

  • 分布式 java.util.concurrent.atomic.AtomicLong

  • 分布式 java.util.concurrent.CountDownLatch

  • 通过org.redisson.core.RTopic 实现分布式订阅/发布

  • 通过 org.redisson.core.RHyperLogLog 实现分布式HyperLogLog 

  • 线程安全

  • 支持 OSGi

  • 超过110个单元测试



历史版本 :
Redisson 2.10.7,3.5.7 发布,Redis 客户端
Redisson 2.10.6,3.5.6 发布,Redis 客户端
Redisson 3.5.5 发布,Redis 客户端
Redisson 3.5.4 发布,Redis 客户端
Redisson 2.10.3 和 3.5.3 发布,Redis 客户端
Redisson 3.5.2 和 2.10.2 发布,Redis 客户端
Redisson 3.5.1 和 2.10.1 发布,Redis 客户端
Redisson 3.4.4 和 2.9.4 发布,Redis 客户端
Redisson 3.4.3 和 2.9.3 发布,Redis 客户端
Redisson 3.4.2 和 2.9.2 发布,Redis 客户端
Redisson 3.4.1 和 2.9.1 发布,Redis 客户端
Redisson 3.4.0 和 2.9.0 发布,Redis 客户端
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务