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

@@ -76,9 +76,9 @@ public interface RedisPipeline {
Response<String> lpop(String key);
Response<Long> lpush(String key, String string);
Response<Long> lpush(String key, String... string);
Response<Long> lpushx(String key, String string);
Response<Long> lpushx(String key, String... string);
Response<List<String>> lrange(String key, long start, long end);
@@ -94,11 +94,11 @@ public interface RedisPipeline {
Response<String> rpop(String key);
Response<Long> rpush(String key, String string);
Response<Long> rpush(String key, String... string);
Response<Long> rpushx(String key, String string);
Response<Long> rpushx(String key, String... string);
Response<Long> sadd(String key, String member);
Response<Long> sadd(String key, String... member);
Response<Long> scard(String key);