Manually merge #578 to master

This commit is contained in:
Marcos Nils
2014-05-25 15:01:24 -03:00
parent bc9e49d6c9
commit 6106f5bbe6
8 changed files with 185 additions and 3 deletions

View File

@@ -2652,6 +2652,15 @@ public class Jedis extends BinaryJedis implements JedisCommands,
client.getrange(key, startOffset, endOffset);
return client.getBulkReply();
}
public Long bitpos(final String key, final boolean value) {
return bitpos(key, value, new BitPosParams());
}
public Long bitpos(final String key, final boolean value, final BitPosParams params) {
client.bitpos(key, value, params);
return client.getIntegerReply();
}
/**
* Retrieve the configuration of a running Redis server. Not all the