Skip to content

Commit

Permalink
Groom interface docs and names. (valkey-io#1214)
Browse files Browse the repository at this point in the history
* Groom interface docs and names. 

---------

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand authored and cyip10 committed Jun 24, 2024
1 parent 147cace commit 5435abc
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions java/client/src/main/java/glide/api/BaseClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -101,7 +101,7 @@
public abstract class BaseClient
implements AutoCloseable,
GenericBaseCommands,
StringCommands,
StringBaseCommands,
HashBaseCommands,
ListBaseCommands,
SetBaseCommands,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=connection">Connection Management Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=connection">Connection Management Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=generic">Generic Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=generic">Generic Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=generic">Generic Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=hash">Hash Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=list">List Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=set">Set Commands</a>
* @see <a href="https://redis.io/commands/?group=server">Server Management Commands</a>
*/
public interface ServerManagementClusterCommands {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=server">Server Management Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=set">Set Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=sorted-set">Sorted Set Commands</a>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="https://redis.io/commands/?group=string">String Commands</a>
*/
public interface StringCommands {
public interface StringBaseCommands {

/**
* Gets the value associated with the given <code>key</code>, or <code>null</code> if no such
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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 <a href="https://redis.io/commands/set/">redis.io</a>
*/
Expand Down

0 comments on commit 5435abc

Please sign in to comment.