binary jedis watch command accepts several keys
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user