Polishing.

Update Bound operations parameter documentation order. Tweak wording.

See #2214
This commit is contained in:
Mark Paluch
2022-03-10 13:51:48 +01:00
parent 6f949f5a8e
commit 020e3691dd
3 changed files with 6 additions and 6 deletions

View File

@@ -40,8 +40,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
/**
* Add {@code value} to a sorted set at the bound key, or update its {@code score} if it already exists.
*
* @param score the score.
* @param value the value.
* @param score the score.
* @return {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
*/
@@ -51,8 +51,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
/**
* Add {@code value} to a sorted set at {@code key} if it does not already exists.
*
* @param score the score.
* @param value the value.
* @param score the score.
* @return {@literal null} when used in pipeline / transaction.
* @since 2.5
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD NX</a>
@@ -94,8 +94,8 @@ public interface BoundZSetOperations<K, V> extends BoundKeyOperations<K> {
/**
* Increment the score of element with {@code value} in sorted set by {@code increment}.
*
* @param delta
* @param value the value.
* @param delta the delta to add. Can be negative.
* @return {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
*/

View File

@@ -42,8 +42,8 @@ public interface ReactiveZSetOperations<K, V> {
* Add {@code value} to a sorted set at {@code key}, or update its {@code score} if it already exists.
*
* @param key must not be {@literal null}.
* @param score the score.
* @param value the value.
* @param score the score.
* @return
* @see <a href="https://redis.io/commands/zadd">Redis Documentation: ZADD</a>
*/
@@ -73,8 +73,8 @@ public interface ReactiveZSetOperations<K, V> {
* Increment the score of element with {@code value} in sorted set by {@code increment}.
*
* @param key must not be {@literal null}.
* @param delta
* @param value the value.
* @param delta the delta to add. Can be negative.
* @return
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
*/

View File

@@ -126,7 +126,7 @@ public interface ZSetOperations<K, V> {
*
* @param key must not be {@literal null}.
* @param value the value.
* @param delta
* @param delta the delta to add. Can be negative.
* @return {@literal null} when used in pipeline / transaction.
* @see <a href="https://redis.io/commands/zincrby">Redis Documentation: ZINCRBY</a>
*/