Skip to content

Commit 1dcc052

Browse files
acarbonettoSanHalacogluImproving
authored andcommitted
Add more comments
Signed-off-by: Andrew Carbonetto <[email protected]>
1 parent 82a4741 commit 1dcc052

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

java/client/src/main/java/glide/api/models/Command.java

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,34 @@ public enum RequestType {
2323

2424
/** CONNECTION MANAGEMENT COMMANDS * */
2525

26-
/** */
26+
/**
27+
* Ping the Redis server.
28+
*
29+
* @see <a href="https://redis.io/commands/ping/">redis.io</a> for details.
30+
*/
2731
PING,
2832

2933
/** SERVER MANAGEMENT COMMANDS * */
3034

31-
/** */
35+
/**
36+
* Get information and statistics about the Redis server
37+
*
38+
* @see <a href="https://redis.io/commands/info/">redis.io</a> for details.
39+
*/
3240
INFO,
3341

3442
/** STRING COMMANDS * */
3543

3644
/**
37-
* Get the value of key.
45+
* Get the value associated with the given key, or null if no such value exists.
3846
*
39-
* @see: <href=https://redis.io/commands/get/>command reference</a>
47+
* @see <a href="https://redis.io/commands/get/">redis.io</a> for details.
4048
*/
4149
GET_STRING,
4250
/**
43-
* Set key to hold the string value.
51+
* Set the given key with the given value.
4452
*
45-
* @see: <href=https://redis.io/commands/set/>command reference</a>
53+
* @see <a href="https://redis.io/commands/set/">redis.io</a> for details.
4654
*/
4755
SET_STRING,
4856
}

0 commit comments

Comments
 (0)