DATAREDIS-1064 - Fix operation comments for lPush/rPush with pivot.
Original pull request: #499.
This commit is contained in:
@@ -110,12 +110,13 @@ public interface ListOperations<K, V> {
|
||||
Long leftPushIfPresent(K key, V value);
|
||||
|
||||
/**
|
||||
* Prepend {@code values} to {@code key} before {@code value}.
|
||||
* Append {@code value} to {@code key} before {@code pivot}.
|
||||
*
|
||||
* @param key must not be {@literal null}.
|
||||
* @param pivot must not be {@literal null}.
|
||||
* @param value
|
||||
* @return {@literal null} when used in pipeline / transaction.
|
||||
* @see <a href="https://redis.io/commands/lpush">Redis Documentation: LPUSH</a>
|
||||
* @see <a href="https://redis.io/commands/linsert">Redis Documentation: LINSERT</a>
|
||||
*/
|
||||
@Nullable
|
||||
Long leftPush(K key, V pivot, V value);
|
||||
@@ -166,12 +167,13 @@ public interface ListOperations<K, V> {
|
||||
Long rightPushIfPresent(K key, V value);
|
||||
|
||||
/**
|
||||
* Append {@code values} to {@code key} before {@code value}.
|
||||
* Append {@code value} to {@code key} after {@code pivot}.
|
||||
*
|
||||
* @param key must not be {@literal null}.
|
||||
* @param pivot must not be {@literal null}.
|
||||
* @param value
|
||||
* @return {@literal null} when used in pipeline / transaction.
|
||||
* @see <a href="https://redis.io/commands/lpush">Redis Documentation: RPUSH</a>
|
||||
* @see <a href="https://redis.io/commands/linsert">Redis Documentation: LINSERT</a>
|
||||
*/
|
||||
@Nullable
|
||||
Long rightPush(K key, V pivot, V value);
|
||||
|
||||
Reference in New Issue
Block a user