From 4c3bbf601a05d81f19b9df0287ca9839fa9a4932 Mon Sep 17 00:00:00 2001 From: pernelkanic Date: Mon, 8 May 2023 18:25:09 +0000 Subject: [PATCH] replaced return values --- .../datasource/value/ReactiveTransactionalValueCommands.java | 1 + .../java/io/quarkus/redis/datasource/value/ValueCommands.java | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ReactiveTransactionalValueCommands.java b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ReactiveTransactionalValueCommands.java index ab7bc9768d25f..b6b1c20cc7717 100644 --- a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ReactiveTransactionalValueCommands.java +++ b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ReactiveTransactionalValueCommands.java @@ -286,6 +286,7 @@ public interface ReactiveTransactionalValueCommands extends ReactiveTransa * * @param key the key * @param value the value + * @return A {@code Uni} emitting {@code null} when the command has been enqueued successfully in the transaction, a failure */ Uni setex(K key, long seconds, V value); diff --git a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ValueCommands.java b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ValueCommands.java index 48ad3e81489f7..19d96700cfa69 100644 --- a/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ValueCommands.java +++ b/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/datasource/value/ValueCommands.java @@ -195,7 +195,6 @@ public interface ValueCommands extends RedisCommands { * Requires Redis 1.0.1 * * @param map the key/value map containing the items to store - * @return a Uni producing a {@code null} item on success, a failure otherwise **/ void mset(Map map); @@ -219,7 +218,6 @@ public interface ValueCommands extends RedisCommands { * @param key the key * @param milliseconds the duration in ms * @param value the value - * @return a Uni producing a {@code null} item on success, a failure otherwise **/ void psetex(K key, long milliseconds, V value); @@ -231,7 +229,6 @@ public interface ValueCommands extends RedisCommands { * * @param key the key * @param value the value - * @return a Uni producing a {@code null} item on success, a failure otherwise **/ void set(K key, V value); @@ -244,7 +241,6 @@ public interface ValueCommands extends RedisCommands { * @param key the key * @param value the value * @param setArgs the set command extra-arguments - * @return a Uni producing a {@code null} item on success, a failure otherwise **/ void set(K key, V value, SetArgs setArgs);