Skip to content

Commit

Permalink
Add more comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Carbonetto <[email protected]>
  • Loading branch information
acarbonetto authored and SanHalacogluImproving committed Jan 26, 2024
1 parent 82a4741 commit 1dcc052
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions java/client/src/main/java/glide/api/models/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,34 @@ public enum RequestType {

/** CONNECTION MANAGEMENT COMMANDS * */

/** */
/**
* Ping the Redis server.
*
* @see <a href="https://redis.io/commands/ping/">redis.io</a> for details.
*/
PING,

/** SERVER MANAGEMENT COMMANDS * */

/** */
/**
* Get information and statistics about the Redis server
*
* @see <a href="https://redis.io/commands/info/">redis.io</a> for details.
*/
INFO,

/** STRING COMMANDS * */

/**
* Get the value of key.
* Get the value associated with the given key, or null if no such value exists.
*
* @see: <href=https://redis.io/commands/get/>command reference</a>
* @see <a href="https://redis.io/commands/get/">redis.io</a> for details.
*/
GET_STRING,
/**
* Set key to hold the string value.
* Set the given key with the given value.
*
* @see: <href=https://redis.io/commands/set/>command reference</a>
* @see <a href="https://redis.io/commands/set/">redis.io</a> for details.
*/
SET_STRING,
}
Expand Down

0 comments on commit 1dcc052

Please sign in to comment.