Added unwatch command

This commit is contained in:
Jonathan Leibiusky
2010-07-07 23:22:16 -03:00
parent ce1ebdd022
commit 4d078d747e
4 changed files with 32 additions and 1 deletions

View File

@@ -379,4 +379,8 @@ public class Client extends Connection {
public void watch(String key) throws JedisException {
sendCommand("WATCH", key);
}
public void unwatch() throws JedisException {
sendCommand("UNWATCH");
}
}