Added pfcount(keys) to BinaryJedis interfaces

This commit is contained in:
Alok Singh
2014-04-29 08:58:15 -07:00
parent b633024c11
commit d9d039d060
2 changed files with 9 additions and 0 deletions

View File

@@ -3438,4 +3438,11 @@ public class BinaryJedis implements BasicCommands, BinaryJedisCommands,
return client.getStatusCodeReply();
}
@Override
public Long pfcount(byte[]... keys) {
checkIsInMulti();
client.pfcount(keys);
return client.getIntegerReply();
}
}

View File

@@ -71,4 +71,6 @@ public interface MultiKeyBinaryCommands {
Long bitop(BitOP op, final byte[] destKey, byte[]... srcKeys);
String pfmerge(final byte[] destkey, final byte[]... sourcekeys);
Long pfcount(byte[]... keys);
}