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

@@ -73,9 +73,9 @@ public interface BinaryRedisPipeline {
Response<byte[]> lpop(byte[] key);
Response<Long> lpush(byte[] key, byte[] string);
Response<Long> lpush(byte[] key, byte[]... string);
Response<Long> lpushx(byte[] key, byte[] bytes);
Response<Long> lpushx(byte[] key, byte[]... bytes);
Response<List<byte[]>> lrange(byte[] key, long start, long end);
@@ -91,11 +91,11 @@ public interface BinaryRedisPipeline {
Response<byte[]> rpop(byte[] key);
Response<Long> rpush(byte[] key, byte[] string);
Response<Long> rpush(byte[] key, byte[]... string);
Response<Long> rpushx(byte[] key, byte[] string);
Response<Long> rpushx(byte[] key, byte[]... string);
Response<Long> sadd(byte[] key, byte[] member);
Response<Long> sadd(byte[] key, byte[]... member);
Response<Long> scard(byte[] key);