Skip to content

Commit

Permalink
Fix typo in reference documentation.
Browse files Browse the repository at this point in the history
Closes #3018
  • Loading branch information
Seungpang authored and mp911de committed Nov 14, 2024
1 parent 88693e5 commit 46bdbe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/antora/modules/ROOT/pages/redis/cluster.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ b8b5ee... 127.0.0.1:7382 slave 6b38bb... 0 1449730618304 25 connected <
[source,java]
----
RedisClusterConnection connection = connectionFactory.getClusterConnnection();
RedisClusterConnection connection = connectionFactory.getClusterConnection();
connection.set("thing1", value); <5>
connection.set("thing2", value); <6>
Expand Down Expand Up @@ -88,7 +88,7 @@ [email protected]:7379 > cluster nodes
[source,java]
----
RedisClusterConnection connection = connectionFactory.getClusterConnnection();
RedisClusterConnection connection = connectionFactory.getClusterConnection();
connection.set("thing1", value); // slot: 12182
connection.set("{thing1}.thing2", value); // slot: 12182
Expand Down Expand Up @@ -134,5 +134,5 @@ clusterOps.shutdown(NODE_7379); <1>
<1> Shut down node at 7379 and cross fingers there is a replica in place that can take over.
====

NOTE: Redis Cluster pipelining is currently only supported throug the Lettuce driver except for the following commands when using cross-slot keys: `rename`, `renameNX`, `sort`, `bLPop`, `bRPop`, `rPopLPush`, `bRPopLPush`, `info`, `sMove`, `sInter`, `sInterStore`, `sUnion`, `sUnionStore`, `sDiff`, `sDiffStore`.
NOTE: Redis Cluster pipelining is currently only supported through the Lettuce driver except for the following commands when using cross-slot keys: `rename`, `renameNX`, `sort`, `bLPop`, `bRPop`, `rPopLPush`, `bRPopLPush`, `info`, `sMove`, `sInter`, `sInterStore`, `sUnion`, `sUnionStore`, `sDiff`, `sDiffStore`.
Same-slot keys are fully supported.
2 changes: 1 addition & 1 deletion src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ It is possible to opt in to the locking behavior as follows:

[source,java]
----
RedisCacheManager cacheMangager = RedisCacheManager
RedisCacheManager cacheManager = RedisCacheManager
.build(RedisCacheWriter.lockingRedisCacheWriter(connectionFactory))
.cacheDefaults(RedisCacheConfiguration.defaultCacheConfig())
...
Expand Down

0 comments on commit 46bdbe3

Please sign in to comment.