DATAREDIS-379 - Update reference documentation.

- Added new-features section.
- Update command matrix.
- Updated Sentinel config and template section.

Original pull request: #130.
This commit is contained in:
Christoph Strobl
2015-03-11 09:58:45 +01:00
committed by Thomas Darimont
parent 45a0c95c82
commit 738f41b169
4 changed files with 43 additions and 6 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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: <<redis:sentinel>>).

View File

@@ -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