binary jedis watch command accepts several keys

This commit is contained in:
Jonathan Leibiusky
2011-05-26 12:53:42 -03:00
parent 607d31d96b
commit 00712f040d
2 changed files with 3 additions and 3 deletions

View File

@@ -1661,8 +1661,8 @@ public class BinaryJedis implements BinaryJedisCommands {
client.disconnect();
}
public String watch(final byte[] key) {
client.watch(key);
public String watch(final byte[]... keys) {
client.watch(keys);
return client.getStatusCodeReply();
}