Redisson 2.2.9 发布了。Redisson 是基于Redis服务之上构建的分布式、可伸缩的Java数据结构,高级的Redis客户端。【redis官方推荐】
Redisson 是使用熟悉的Java数据结构来发挥Redis的威力,基于lettuce Redis客户端和Netty 4 ,兼容 Redis 2.6+ and JDK 1.6+,使用Apache License 2.0授权协议,阅读 wiki 来获取更多使用信息
Supported Redis connection type
AWS ElastiCache nodes (automatic servers discovery and status update)
Cluster nodes (automatic servers discovery, status and topology update)
Sentinel nodes (automatic servers discovery and status update)
Master with Slave nodes
Single node
Features
All commands executes in an atomic way
Synchronous / asynchronous / reactive interfaces
Thread-safe implementation
Connection management
Spring cache integration
Supports Reactive Streams
Supports Android platform
Supports OSGi
Supports many popular codecs:
Jackson JSON, CBOR, MsgPack, Kryo, FST, LZ4, Snappy and JDK Serialization
Used by
Brookhaven National Laboratory, Setronica, Monits, Clover, Invaluable, Netflix Dyno client, 武林Q传, Ocous
Maven
<dependency> <groupId>org.redisson</groupId> <artifactId>redisson</artifactId> <version>2.2.9</version> </dependency>
Gradle
compile 'org.redisson:redisson:2.2.9'