Added support for ZCOUNT

This commit is contained in:
Jonathan Leibiusky
2010-08-07 18:04:06 -03:00
parent a842e64f8a
commit 2279746489
3 changed files with 21 additions and 0 deletions

View File

@@ -435,4 +435,8 @@ public class Client extends Connection {
public void punsubscribe(String... patterns) {
sendCommand("PUNSUBSCRIBE", patterns);
}
public void zcount(String key, double min, double max) {
sendCommand("ZCOUNT", key, String.valueOf(min), String.valueOf(max));
}
}