Apply PF* commands to JedisCluster, ShardedJedis
* Apply PF* commands to JedisCluster, ShardedJedis * PF* commands to interface ** pfadd / pfcount : JedisCommands ** pfmerge : MultiKeyCommands
This commit is contained in:
@@ -3413,7 +3413,7 @@ public class Jedis extends BinaryJedis implements JedisCommands,
|
||||
.build(client.getBinaryMultiBulkReply());
|
||||
}
|
||||
|
||||
public Long pfadd(final String key, String... elements) {
|
||||
public Long pfadd(final String key, final String... elements) {
|
||||
checkIsInMulti();
|
||||
client.pfadd(key, elements);
|
||||
return client.getIntegerReply();
|
||||
|
||||
Reference in New Issue
Block a user