Normalized Pipeline[] interfaces and extracted all of the non-shardable commands into the MultiKey* interfaces
This commit is contained in:
@@ -10,10 +10,18 @@ import java.util.Set;
|
||||
public interface RedisPipeline {
|
||||
Response<Long> append(String key, String value);
|
||||
|
||||
Response<List<String>> blpop(String arg);
|
||||
|
||||
Response<List<String>> brpop(String arg);
|
||||
|
||||
Response<Long> decr(String key);
|
||||
|
||||
Response<Long> decrBy(String key, long integer);
|
||||
|
||||
Response<Long> del(String key);
|
||||
|
||||
Response<String> echo(String string);
|
||||
|
||||
Response<Boolean> exists(String key);
|
||||
|
||||
Response<Long> expire(String key, int seconds);
|
||||
@@ -102,6 +110,8 @@ public interface RedisPipeline {
|
||||
|
||||
Response<Long> setnx(String key, String value);
|
||||
|
||||
Response<Long> setrange(String key, long offset, String value);
|
||||
|
||||
Response<Set<String>> smembers(String key);
|
||||
|
||||
Response<Long> sort(String key);
|
||||
|
||||
Reference in New Issue
Block a user