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

@@ -545,4 +545,9 @@ public class Jedis {
public void psubscribe(JedisPubSub jedisPubSub, String... patterns) {
jedisPubSub.proceedWithPatterns(client, patterns);
}
public int zcount(String key, double min, double max) {
client.zcount(key, min, max);
return client.getIntegerReply();
}
}