added variadic versions of lpush/rpush(x) functions

This commit is contained in:
samhendley
2013-01-10 02:39:48 -05:00
parent 6b5fccdc0a
commit 258ac300fc
12 changed files with 42 additions and 52 deletions

View File

@@ -196,9 +196,9 @@ public interface BinaryJedisCommands {
Long linsert(byte[] key, Client.LIST_POSITION where, byte[] pivot,
byte[] value);
Long lpushx(byte[] key, byte[] arg);
Long lpushx(byte[] key, byte[]... arg);
Long rpushx(byte[] key, byte[] arg);
Long rpushx(byte[] key, byte[]... arg);
List<byte[]> blpop(byte[] arg);