Skip to content

Commit 738f41b

Browse files
christophstroblThomas Darimont
authored andcommitted
DATAREDIS-379 - Update reference documentation.
- Added new-features section. - Update command matrix. - Updated Sentinel config and template section. Original pull request: spring-projects#130.
1 parent 45a0c95 commit 738f41b

File tree

4 files changed

+43
-6
lines changed

4 files changed

+43
-6
lines changed

src/asciidoc/appendix/appendix-command-reference.adoc

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
|CLIENT GETNAME |X
2222
|CLIENT LIST |X
2323
|CLIENT SETNAME |X
24+
|CLUSTER SLOTS |-
25+
|COMMAND |-
26+
|COMMAND COUNT |-
27+
|COMMAND GETKEYS |-
28+
|COMMAND INFO |-
2429
|CONFIG GET |X
2530
|CONFIG RESETSTAT |X
2631
|CONFIG REWRITE |-
@@ -87,6 +92,9 @@
8792
|PERSIST |X
8893
|PEXIPRE |X
8994
|PEXPIREAT |X
95+
|PFADD |X
96+
|PFCOUNT |X
97+
|PFMERGE |X
9098
|PING |X
9199
|PSETEX |X
92100
|PSUBSCRIBE |X
@@ -99,6 +107,7 @@
99107
|RENAME |X
100108
|RENAMENX |X
101109
|RESTORE |X
110+
|ROLE |-
102111
|RPOP |X
103112
|RPOPLPUSH |X
104113
|RPUSH |X
@@ -114,15 +123,15 @@
114123
|SDIFF |X
115124
|SDIFFSTORE |X
116125
|SELECT |X
117-
|SENTINEL FAILOVER |-
126+
|SENTINEL FAILOVER |X
118127
|SENTINEL GET-MASTER-ADD-BY-NAME |-
119-
|SENTINEL MASTER |-
120-
|SENTINEL MASTERS |-
121-
|SENTINEL MONITOR |-
122-
|SENTINEL REMOVE |-
128+
|SENTINEL MASTER | -
129+
|SENTINEL MASTERS |X
130+
|SENTINEL MONITOR |X
131+
|SENTINEL REMOVE |X
123132
|SENTINEL RESET |-
124133
|SENTINEL SET |-
125-
|SENTINEL SLAVES |-
134+
|SENTINEL SLAVES |X
126135
|SET |X
127136
|SETBIT |X
128137
|SETEX |X
@@ -157,10 +166,14 @@
157166
|ZCOUNT |X
158167
|ZINCRBY |X
159168
|ZINTERSTORE |X
169+
|ZLEXCOUNT |-
160170
|ZRANGE |X
171+
|ZRANGEBYLEX |-
172+
|ZREVRANGEBYLEX |-
161173
|ZRANGEBYSCORE |X
162174
|ZRANK |X
163175
|ZREM |X
176+
|ZREMRANGEBYLEX |-
164177
|ZREMRANGEBYRANK |X
165178
|ZREVRANGE |X
166179
|ZREVRANGEBYSCORE |X

src/asciidoc/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ NOTE: Copies of this document may be made for your own use and for distribution
1414
toc::[]
1515

1616
include::preface.adoc[]
17+
include::new-features.adoc[]
1718

1819
[[introduction]]
1920
= Introduction

src/asciidoc/new-features.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[[new-features]]
2+
= New Features
3+
4+
[[new-in-1-5-0]]
5+
== New in Spring Data Redis 1.5
6+
7+
* Add support for Redis HyperLogLog commands `PFADD`, `PFCOUNT` and `PFMERGE`.
8+
* Configurable `JavaType` lookup for Jackson based `RedisSerializers`.
9+
* `PropertySource` based configuration for connecting to Redis Sentinel (see: <<redis:sentinel>>).
10+

src/asciidoc/reference/redis.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,18 @@ public RedisConnectionFactory jedisConnectionFactory() {
177177
}
178178
----
179179

180+
[TIP]
181+
====
182+
`RedisSentinelConfiguration` can also be defined via `PropertySource`.
183+
184+
.Configuration Properties
185+
- `spring.redis.sentinel.master`: name of the master node.
186+
- `spring.redis.sentinel.nodes`: Comma delimited list of host:port pairs.
187+
====
188+
180189
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.
181190

191+
182192
[[redis:template]]
183193
== Working with Objects through RedisTemplate
184194

@@ -209,6 +219,9 @@ Moreover, the template provides operations views (following the grouping from Re
209219
|HashOperations
210220
|Redis hash operations
211221

222+
|HyperLogLogOperations
223+
|Redis HyperLogLog operations like (pfadd, pfcount,...)
224+
212225
2+^|_Key Bound Operations_
213226

214227
|BoundValueOperations

0 commit comments

Comments
 (0)