Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced the inversed return types for each methods in redis client #33198

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ public interface ReactiveTransactionalValueCommands<K, V> extends ReactiveTransa
* @param key the key
* @param value the value
* @param setArgs the set command extra-arguments
* @return A {@code Uni} emitting {@code null} when the command has been enqueued successfully in the transaction, a failure
*@return A {@code Uni} emitting {@code null} when the command has been enqueued successfully in the transaction, a failure
* otherwise. In the case of failure, the transaction is discarded.
*/
Uni<Void> setGet(K key, V value, SetArgs setArgs);
Expand All @@ -286,6 +286,8 @@ public interface ReactiveTransactionalValueCommands<K, V> 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
* otherwise. In the case of failure, the transaction is discarded.
*/
Uni<Void> setex(K key, long seconds, V value);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ public interface ValueCommands<K, V> 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<K, V> map);

Expand All @@ -219,7 +218,6 @@ public interface ValueCommands<K, V> 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);

Expand All @@ -231,8 +229,7 @@ public interface ValueCommands<K, V> 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);

/**
Expand All @@ -244,7 +241,6 @@ public interface ValueCommands<K, V> 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);

Expand Down