diff --git a/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java b/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java
index f19ea2db92..7c8a250253 100644
--- a/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java
+++ b/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java
@@ -44,7 +44,7 @@ public interface ConnectionManagementClusterCommands {
*
* @see redis.io for details.
* @param route Specifies the routing configuration for the command. The client will route the
- * command to the defined nodes.
+ * command to the nodes defined by route
.
* @return String
with "PONG"
.
* @example
*
{@code @@ -60,7 +60,7 @@ public interface ConnectionManagementClusterCommands { * @see redis.io for details. * @param message The ping argument that will be returned. * @param route Specifies the routing configuration for the command. The client will route the - * command to the defined nodes. + * command to the nodes defined byroute
. * @returnString
with a copy of the argumentmessage
. * @example *{@code @@ -89,7 +89,7 @@ public interface ConnectionManagementClusterCommands { * * @see redis.io for details. * @param route Specifies the routing configuration for the command. The client will route the - * command to the defined nodes. + * command to the nodes defined byroute
. * @return A {@link ClusterValue} which holds a single value if single node route is used or a * dictionary where each address is the key and its corresponding node response is the value. * The value is the id of the client on that node. @@ -124,7 +124,7 @@ public interface ConnectionManagementClusterCommands { * * @see redis.io for details. * @param route Specifies the routing configuration for the command. The client will route the - * command to the defined nodes. + * command to the nodes defined byroute
. * @return A {@link ClusterValue} which holds a single value if single node route is used or a * dictionary where each address is the key and its corresponding node response is the value. * The value is the name of the client connection as a string if a name is set, or null if no diff --git a/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java b/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java index 030c05c06c..57505c1794 100644 --- a/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java +++ b/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java @@ -47,7 +47,8 @@ public interface GenericClusterCommands { * pub/sub mode on RESP2 connections) shouldn't be called using * this function. * @param args Arguments for the custom command including the command name - * @param route Routing configuration for the command + * @param route Specifies the routing configuration for the command. The client will route the + * command to the nodes defined byroute
. * @return Response from Redis containing anObject
. * @example *{@code @@ -92,8 +93,8 @@ public interface GenericClusterCommands { * @see redis.io for details on Redis * Transactions. * @param transaction A {@link Transaction} object containing a list of commands to be executed. - * @param route Routing configuration for the transaction. The client will route the transaction - * to the nodes defined byroute
. + * @param route Specifies the routing configuration for the transaction. The client will route the + * transaction to the nodes defined byroute
. * @return A list of results corresponding to the execution of each command in the transaction. * @remarks *
route
.
* @return Response from Redis cluster with a String
with the requested Sections.
* When specifying a route
other than a single node, it returns a
* Map{@literal }
with each address as the key and its corresponding
@@ -64,8 +64,8 @@ public interface ServerManagementClusterCommands {
* @param options A list of {@link InfoOptions.Section} values specifying which sections of
* information to retrieve. When no parameter is provided, the {@link
* InfoOptions.Section#DEFAULT} option is assumed.
- * @param route Routing configuration for the command. Client will route the command to the nodes
- * defined.
+ * @param route Specifies the routing configuration for the command. The client will route the
+ * command to the nodes defined by route
.
* @return Response from Redis cluster with a String
with the requested sections.
* When specifying a route
other than a single node, it returns a
* Map{@literal }
with each address as the key and its corresponding
@@ -92,8 +92,8 @@ public interface ServerManagementClusterCommands {
* Rewrites the configuration file with the current configuration.
*
* @see redis.io for details.
- * @param route Routing configuration for the command. Client will route the command to the nodes
- * defined.
+ * @param route Specifies the routing configuration for the command. The client will route the
+ * command to the nodes defined by route
.
* @return OK
when the configuration was rewritten properly, otherwise an error is
* thrown.
* @example
@@ -126,8 +126,8 @@ public interface ServerManagementClusterCommands {
* href="https://redis.io/commands/latency-histogram/">LATENCY HISTOGRAM commands.
*
* @see redis.io for details.
- * @param route Routing configuration for the command. Client will route the command to the nodes
- * defined.
+ * @param route Specifies the routing configuration for the command. The client will route the
+ * command to the nodes defined by route
.
* @return OK
to confirm that the statistics were successfully reset.
* @example
* {@code