Merge pull request #365 from eujern/patch-1

Update src/main/java/redis/clients/jedis/BinaryShardedJedis.java
This commit is contained in:
Jonathan Leibiusky
2012-10-28 08:31:11 -07:00

View File

@@ -100,6 +100,11 @@ public class BinaryShardedJedis extends Sharded<Jedis, JedisShardInfo>
return j.decr(key);
}
public Long del(byte[] key) {
Jedis j = getShard(key);
return j.del(key);
}
public Long incrBy(byte[] key, long integer) {
Jedis j = getShard(key);
return j.incrBy(key, integer);