From 7ed615ff0767d517645f0a91d4b9bb0523305b65 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Fri, 21 Feb 2020 10:31:50 +0100 Subject: [PATCH] Polishing #1197 Tweak documentation. Add since tags. Original pull request: #1230. --- .../io/lettuce/core/api/async/RedisServerAsyncCommands.java | 3 ++- .../lettuce/core/api/reactive/RedisServerReactiveCommands.java | 3 ++- .../java/io/lettuce/core/api/sync/RedisServerCommands.java | 3 ++- .../cluster/api/async/NodeSelectionServerAsyncCommands.java | 3 ++- .../core/cluster/api/sync/NodeSelectionServerCommands.java | 3 ++- .../templates/io/lettuce/core/api/RedisServerCommands.java | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/main/java/io/lettuce/core/api/async/RedisServerAsyncCommands.java b/src/main/java/io/lettuce/core/api/async/RedisServerAsyncCommands.java index 7b26e6a436..3e790a4d6f 100644 --- a/src/main/java/io/lettuce/core/api/async/RedisServerAsyncCommands.java +++ b/src/main/java/io/lettuce/core/api/async/RedisServerAsyncCommands.java @@ -109,7 +109,8 @@ public interface RedisServerAsyncCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ RedisFuture clientId(); diff --git a/src/main/java/io/lettuce/core/api/reactive/RedisServerReactiveCommands.java b/src/main/java/io/lettuce/core/api/reactive/RedisServerReactiveCommands.java index 3a07478043..cb645b4a01 100644 --- a/src/main/java/io/lettuce/core/api/reactive/RedisServerReactiveCommands.java +++ b/src/main/java/io/lettuce/core/api/reactive/RedisServerReactiveCommands.java @@ -109,7 +109,8 @@ public interface RedisServerReactiveCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ Mono clientId(); diff --git a/src/main/java/io/lettuce/core/api/sync/RedisServerCommands.java b/src/main/java/io/lettuce/core/api/sync/RedisServerCommands.java index 8c44ff6367..3254ddbf0b 100644 --- a/src/main/java/io/lettuce/core/api/sync/RedisServerCommands.java +++ b/src/main/java/io/lettuce/core/api/sync/RedisServerCommands.java @@ -108,7 +108,8 @@ public interface RedisServerCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ Long clientId(); diff --git a/src/main/java/io/lettuce/core/cluster/api/async/NodeSelectionServerAsyncCommands.java b/src/main/java/io/lettuce/core/cluster/api/async/NodeSelectionServerAsyncCommands.java index 466c474760..9f6c2b8333 100644 --- a/src/main/java/io/lettuce/core/cluster/api/async/NodeSelectionServerAsyncCommands.java +++ b/src/main/java/io/lettuce/core/cluster/api/async/NodeSelectionServerAsyncCommands.java @@ -108,7 +108,8 @@ public interface NodeSelectionServerAsyncCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ AsyncExecutions clientId(); diff --git a/src/main/java/io/lettuce/core/cluster/api/sync/NodeSelectionServerCommands.java b/src/main/java/io/lettuce/core/cluster/api/sync/NodeSelectionServerCommands.java index f988663931..2d718a060f 100644 --- a/src/main/java/io/lettuce/core/cluster/api/sync/NodeSelectionServerCommands.java +++ b/src/main/java/io/lettuce/core/cluster/api/sync/NodeSelectionServerCommands.java @@ -108,7 +108,8 @@ public interface NodeSelectionServerCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ Executions clientId(); diff --git a/src/main/templates/io/lettuce/core/api/RedisServerCommands.java b/src/main/templates/io/lettuce/core/api/RedisServerCommands.java index 2eb4e9bc7c..a09797ff6e 100644 --- a/src/main/templates/io/lettuce/core/api/RedisServerCommands.java +++ b/src/main/templates/io/lettuce/core/api/RedisServerCommands.java @@ -107,7 +107,8 @@ public interface RedisServerCommands { /** * Get the id of the current connection. * - * @return Long The command just returns the ID of the current connection. Every connection ID has certain guarantees + * @return Long The command just returns the ID of the current connection. + * @since 5.3 */ Long clientId();