Implemented BRPOP

This commit is contained in:
Jonathan Leibiusky
2010-08-03 01:23:51 -03:00
parent dea8c12d1e
commit 2131265436
4 changed files with 40 additions and 2 deletions

View File

@@ -413,4 +413,8 @@ public class Client extends Connection {
public void sort(String key, String dstkey) throws JedisException {
sendCommand("SORT", key, "STORE", dstkey);
}
public void brpop(String[] args) throws JedisException {
sendCommand("BRPOP", args);
}
}