diff --git a/src/asciidoc/appendix/appendix-command-reference.adoc b/src/asciidoc/appendix/appendix-command-reference.adoc index fa116ae84..ddf2c9335 100644 --- a/src/asciidoc/appendix/appendix-command-reference.adoc +++ b/src/asciidoc/appendix/appendix-command-reference.adoc @@ -21,6 +21,11 @@ |CLIENT GETNAME |X |CLIENT LIST |X |CLIENT SETNAME |X +|CLUSTER SLOTS |- +|COMMAND |- +|COMMAND COUNT |- +|COMMAND GETKEYS |- +|COMMAND INFO |- |CONFIG GET |X |CONFIG RESETSTAT |X |CONFIG REWRITE |- @@ -87,6 +92,9 @@ |PERSIST |X |PEXIPRE |X |PEXPIREAT |X +|PFADD |X +|PFCOUNT |X +|PFMERGE |X |PING |X |PSETEX |X |PSUBSCRIBE |X @@ -99,6 +107,7 @@ |RENAME |X |RENAMENX |X |RESTORE |X +|ROLE |- |RPOP |X |RPOPLPUSH |X |RPUSH |X @@ -114,15 +123,15 @@ |SDIFF |X |SDIFFSTORE |X |SELECT |X -|SENTINEL FAILOVER |- +|SENTINEL FAILOVER |X |SENTINEL GET-MASTER-ADD-BY-NAME |- -|SENTINEL MASTER |- -|SENTINEL MASTERS |- -|SENTINEL MONITOR |- -|SENTINEL REMOVE |- +|SENTINEL MASTER | - +|SENTINEL MASTERS |X +|SENTINEL MONITOR |X +|SENTINEL REMOVE |X |SENTINEL RESET |- |SENTINEL SET |- -|SENTINEL SLAVES |- +|SENTINEL SLAVES |X |SET |X |SETBIT |X |SETEX |X @@ -157,10 +166,14 @@ |ZCOUNT |X |ZINCRBY |X |ZINTERSTORE |X +|ZLEXCOUNT |- |ZRANGE |X +|ZRANGEBYLEX |- +|ZREVRANGEBYLEX |- |ZRANGEBYSCORE |X |ZRANK |X |ZREM |X +|ZREMRANGEBYLEX |- |ZREMRANGEBYRANK |X |ZREVRANGE |X |ZREVRANGEBYSCORE |X diff --git a/src/asciidoc/index.adoc b/src/asciidoc/index.adoc index ea749ad00..19c978c06 100644 --- a/src/asciidoc/index.adoc +++ b/src/asciidoc/index.adoc @@ -14,6 +14,7 @@ NOTE: Copies of this document may be made for your own use and for distribution toc::[] include::preface.adoc[] +include::new-features.adoc[] [[introduction]] = Introduction diff --git a/src/asciidoc/new-features.adoc b/src/asciidoc/new-features.adoc new file mode 100644 index 000000000..c478aae31 --- /dev/null +++ b/src/asciidoc/new-features.adoc @@ -0,0 +1,10 @@ +[[new-features]] += New Features + +[[new-in-1-5-0]] +== New in Spring Data Redis 1.5 + +* Add support for Redis HyperLogLog commands `PFADD`, `PFCOUNT` and `PFMERGE`. +* Configurable `JavaType` lookup for Jackson based `RedisSerializers`. +* `PropertySource` based configuration for connecting to Redis Sentinel (see: <>). + diff --git a/src/asciidoc/reference/redis.adoc b/src/asciidoc/reference/redis.adoc index 796ea1b8e..9497808bc 100644 --- a/src/asciidoc/reference/redis.adoc +++ b/src/asciidoc/reference/redis.adoc @@ -177,8 +177,18 @@ public RedisConnectionFactory jedisConnectionFactory() { } ---- +[TIP] +==== +`RedisSentinelConfiguration` can also be defined via `PropertySource`. + +.Configuration Properties +- `spring.redis.sentinel.master`: name of the master node. +- `spring.redis.sentinel.nodes`: Comma delimited list of host:port pairs. +==== + Sometimes direct interaction with the one of the Sentinels is required. Using `RedisConnectionFactory.getSentinelConnection()` or `RedisConnection.getSentinelCommands()` gives you access to the first active Sentinel configured. + [[redis:template]] == Working with Objects through RedisTemplate @@ -209,6 +219,9 @@ Moreover, the template provides operations views (following the grouping from Re |HashOperations |Redis hash operations +|HyperLogLogOperations +|Redis HyperLogLog operations like (pfadd, pfcount,...) + 2+^|_Key Bound Operations_ |BoundValueOperations