Added watch command
This commit is contained in:
@@ -486,4 +486,9 @@ public class Jedis {
|
||||
client.disconnect();
|
||||
}
|
||||
|
||||
public String watch(String key) throws JedisException {
|
||||
client.watch(key);
|
||||
return client.getStatusCodeReply();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user