From 5435abc366233c25674e86a12d340a851f82401d Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Thu, 4 Apr 2024 09:45:40 -0700 Subject: [PATCH] Groom interface docs and names. (#1214) * Groom interface docs and names. --------- Signed-off-by: Yury-Fridlyand --- java/client/src/main/java/glide/api/BaseClient.java | 4 ++-- .../api/commands/ConnectionManagementClusterCommands.java | 2 +- .../glide/api/commands/ConnectionManagementCommands.java | 2 +- .../main/java/glide/api/commands/GenericBaseCommands.java | 4 ++-- .../java/glide/api/commands/GenericClusterCommands.java | 2 +- .../src/main/java/glide/api/commands/GenericCommands.java | 2 +- .../src/main/java/glide/api/commands/HashBaseCommands.java | 4 ++-- .../src/main/java/glide/api/commands/ListBaseCommands.java | 4 ++-- .../glide/api/commands/ServerManagementClusterCommands.java | 6 +++--- .../java/glide/api/commands/ServerManagementCommands.java | 2 +- .../src/main/java/glide/api/commands/SetBaseCommands.java | 4 ++-- .../main/java/glide/api/commands/SortedSetBaseCommands.java | 4 ++-- .../{StringCommands.java => StringBaseCommands.java} | 6 +++--- .../src/main/java/glide/api/models/commands/SetOptions.java | 4 ++-- 14 files changed, 25 insertions(+), 25 deletions(-) rename java/client/src/main/java/glide/api/commands/{StringCommands.java => StringBaseCommands.java} (98%) diff --git a/java/client/src/main/java/glide/api/BaseClient.java b/java/client/src/main/java/glide/api/BaseClient.java index dc7c4e754c..ef6f87f530 100644 --- a/java/client/src/main/java/glide/api/BaseClient.java +++ b/java/client/src/main/java/glide/api/BaseClient.java @@ -64,7 +64,7 @@ import glide.api.commands.ListBaseCommands; import glide.api.commands.SetBaseCommands; import glide.api.commands.SortedSetBaseCommands; -import glide.api.commands.StringCommands; +import glide.api.commands.StringBaseCommands; import glide.api.models.Script; import glide.api.models.commands.ExpireOptions; import glide.api.models.commands.RangeOptions; @@ -101,7 +101,7 @@ public abstract class BaseClient implements AutoCloseable, GenericBaseCommands, - StringCommands, + StringBaseCommands, HashBaseCommands, ListBaseCommands, SetBaseCommands, 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 32b1e85af1..4cfc991e7c 100644 --- a/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java +++ b/java/client/src/main/java/glide/api/commands/ConnectionManagementClusterCommands.java @@ -6,7 +6,7 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands for the "Connection Management" group for cluster clients. + * Supports commands for the "Connection Management" group for a cluster client. * * @see Connection Management Commands */ diff --git a/java/client/src/main/java/glide/api/commands/ConnectionManagementCommands.java b/java/client/src/main/java/glide/api/commands/ConnectionManagementCommands.java index 302b89e106..10d5620eb9 100644 --- a/java/client/src/main/java/glide/api/commands/ConnectionManagementCommands.java +++ b/java/client/src/main/java/glide/api/commands/ConnectionManagementCommands.java @@ -4,7 +4,7 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Connection Management" group for standalone clients. + * Supports commands and transactions for the "Connection Management" group for a standalone client. * * @see Connection Management Commands */ diff --git a/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java b/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java index e0dda2280f..620d3412ab 100644 --- a/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java +++ b/java/client/src/main/java/glide/api/commands/GenericBaseCommands.java @@ -7,8 +7,8 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Generic Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "Generic Commands" group for standalone and cluster + * clients. * * @see Generic Commands */ 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 083d51fd67..2e9812da73 100644 --- a/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java +++ b/java/client/src/main/java/glide/api/commands/GenericClusterCommands.java @@ -8,7 +8,7 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands for the "Generic Commands" group for cluster clients. + * Supports commands for the "Generic Commands" group for a cluster client. * * @see Generic Commands */ diff --git a/java/client/src/main/java/glide/api/commands/GenericCommands.java b/java/client/src/main/java/glide/api/commands/GenericCommands.java index fa2e481cec..e4bde9ce06 100644 --- a/java/client/src/main/java/glide/api/commands/GenericCommands.java +++ b/java/client/src/main/java/glide/api/commands/GenericCommands.java @@ -5,7 +5,7 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Generic Commands" group for standalone clients. + * Supports commands and transactions for the "Generic Commands" group for a standalone client. * * @see Generic Commands */ diff --git a/java/client/src/main/java/glide/api/commands/HashBaseCommands.java b/java/client/src/main/java/glide/api/commands/HashBaseCommands.java index b76dd96a2c..5f4506cd24 100644 --- a/java/client/src/main/java/glide/api/commands/HashBaseCommands.java +++ b/java/client/src/main/java/glide/api/commands/HashBaseCommands.java @@ -5,8 +5,8 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Hash Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "Hash Commands" group for standalone and cluster + * clients. * * @see Hash Commands */ diff --git a/java/client/src/main/java/glide/api/commands/ListBaseCommands.java b/java/client/src/main/java/glide/api/commands/ListBaseCommands.java index 4e175e5b4d..fcc0842dc1 100644 --- a/java/client/src/main/java/glide/api/commands/ListBaseCommands.java +++ b/java/client/src/main/java/glide/api/commands/ListBaseCommands.java @@ -4,8 +4,8 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "List Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "List Commands" group for standalone and cluster + * clients. * * @see List Commands */ diff --git a/java/client/src/main/java/glide/api/commands/ServerManagementClusterCommands.java b/java/client/src/main/java/glide/api/commands/ServerManagementClusterCommands.java index 6355ecf788..b9c3865529 100644 --- a/java/client/src/main/java/glide/api/commands/ServerManagementClusterCommands.java +++ b/java/client/src/main/java/glide/api/commands/ServerManagementClusterCommands.java @@ -9,10 +9,10 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Set Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "Server Management Commands" group for a cluster + * client. * - * @see Set Commands + * @see Server Management Commands */ public interface ServerManagementClusterCommands { diff --git a/java/client/src/main/java/glide/api/commands/ServerManagementCommands.java b/java/client/src/main/java/glide/api/commands/ServerManagementCommands.java index 994e347853..177be2bbb0 100644 --- a/java/client/src/main/java/glide/api/commands/ServerManagementCommands.java +++ b/java/client/src/main/java/glide/api/commands/ServerManagementCommands.java @@ -7,7 +7,7 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Server Management" group for standalone clients. + * Supports commands and transactions for the "Server Management" group for a standalone client. * * @see Server Management Commands */ diff --git a/java/client/src/main/java/glide/api/commands/SetBaseCommands.java b/java/client/src/main/java/glide/api/commands/SetBaseCommands.java index beea7bb9b2..16573f883c 100644 --- a/java/client/src/main/java/glide/api/commands/SetBaseCommands.java +++ b/java/client/src/main/java/glide/api/commands/SetBaseCommands.java @@ -5,8 +5,8 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Set Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "Set Commands" group for standalone and cluster + * clients. * * @see Set Commands */ diff --git a/java/client/src/main/java/glide/api/commands/SortedSetBaseCommands.java b/java/client/src/main/java/glide/api/commands/SortedSetBaseCommands.java index 462a7305c4..d4a9e5d4ea 100644 --- a/java/client/src/main/java/glide/api/commands/SortedSetBaseCommands.java +++ b/java/client/src/main/java/glide/api/commands/SortedSetBaseCommands.java @@ -11,8 +11,8 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "Sorted Set Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "Sorted Set Commands" group for standalone and cluster + * clients. * * @see Sorted Set Commands */ diff --git a/java/client/src/main/java/glide/api/commands/StringCommands.java b/java/client/src/main/java/glide/api/commands/StringBaseCommands.java similarity index 98% rename from java/client/src/main/java/glide/api/commands/StringCommands.java rename to java/client/src/main/java/glide/api/commands/StringBaseCommands.java index 592a35a1bf..2f5177f86a 100644 --- a/java/client/src/main/java/glide/api/commands/StringCommands.java +++ b/java/client/src/main/java/glide/api/commands/StringBaseCommands.java @@ -8,12 +8,12 @@ import java.util.concurrent.CompletableFuture; /** - * Supports commands and transactions for the "String Commands" group for standalone clients and - * cluster clients. + * Supports commands and transactions for the "String Commands" group for standalone and cluster + * clients. * * @see String Commands */ -public interface StringCommands { +public interface StringBaseCommands { /** * Gets the value associated with the given key, or null if no such diff --git a/java/client/src/main/java/glide/api/models/commands/SetOptions.java b/java/client/src/main/java/glide/api/models/commands/SetOptions.java index a875f845f9..ed3bfbd8ae 100644 --- a/java/client/src/main/java/glide/api/models/commands/SetOptions.java +++ b/java/client/src/main/java/glide/api/models/commands/SetOptions.java @@ -7,7 +7,7 @@ import static glide.api.models.commands.SetOptions.ExpiryType.UNIX_MILLISECONDS; import static glide.api.models.commands.SetOptions.ExpiryType.UNIX_SECONDS; -import glide.api.commands.StringCommands; +import glide.api.commands.StringBaseCommands; import java.util.ArrayList; import java.util.List; import lombok.Builder; @@ -16,7 +16,7 @@ import redis_request.RedisRequestOuterClass.Command; /** - * Optional arguments for {@link StringCommands#set(String, String, SetOptions)} command. + * Optional arguments for {@link StringBaseCommands#set(String, String, SetOptions)} command. * * @see redis.io */