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();