added interfaces for ScriptingCommands, AdvancedCommands most of jedis and binaryjedis are defined by interfaces

This commit is contained in:
samhendley
2012-12-26 11:45:57 -05:00
parent cc0ef89b7d
commit 5bde3da7f2
10 changed files with 207 additions and 53 deletions

View File

@@ -49,6 +49,8 @@ public interface MultiKeyCommands {
String watch(String... keys);
String unwatch();
Long zinterstore(String dstkey, String... sets);
Long zinterstore(String dstkey, ZParams params, String... sets);
@@ -61,5 +63,9 @@ public interface MultiKeyCommands {
Long publish(String channel, String message);
void subscribe(JedisPubSub jedisPubSub, String... channels);
void psubscribe(JedisPubSub jedisPubSub, String... patterns);
String randomKey();
}