Polishing.

Updated more javadocs where reference to a Redis command was invalid.

Original pull request: #3047
See: #3047
This commit is contained in:
Marcin Grzejszczak
2024-11-26 11:29:44 +01:00
parent 92eda5a924
commit 749f5ff3ca
2 changed files with 5 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ public interface ReactiveValueOperations<K, V> {
* @param key must not be {@literal null}.
* @param value
* @param timeout must not be {@literal null}.
* @see <a href="https://redis.io/commands/setex">Redis Documentation: SETEX</a>
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
*/
Mono<Boolean> set(K key, V value, Duration timeout);
@@ -281,6 +281,7 @@ public interface ReactiveValueOperations<K, V> {
* @param command must not be {@literal null}.
* @return
* @since 2.1
* @see <a href="https://redis.io/commands/bitfield">Redis Documentation: BITFIELD</a>
*/
Mono<List<Long>> bitField(K key, BitFieldSubCommands command);
@@ -288,6 +289,7 @@ public interface ReactiveValueOperations<K, V> {
* Removes the given {@literal key}.
*
* @param key must not be {@literal null}.
* @see <a href="https://redis.io/commands/del">Redis Documentation: DEL</a>
*/
Mono<Boolean> delete(K key);
}

View File

@@ -62,7 +62,7 @@ public interface ValueOperations<K, V> {
* @param value must not be {@literal null}.
* @param timeout must not be {@literal null}.
* @throws IllegalArgumentException if either {@code key}, {@code value} or {@code timeout} is not present.
* @see <a href="https://redis.io/commands/setex">Redis Documentation: SETEX</a>
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
* @since 2.1
*/
default void set(K key, V value, Duration timeout) {
@@ -82,7 +82,7 @@ public interface ValueOperations<K, V> {
* @param key must not be {@literal null}.
* @param value must not be {@literal null}.
* @return {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/setnx">Redis Documentation: SETNX</a>
* @see <a href="https://redis.io/commands/set">Redis Documentation: SET</a>
*/
@Nullable
Boolean setIfAbsent(K key, V value);