Apply PF* (string, binary) commands to Pipeline

* Apply PF* (string, binary) commands to Pipeline
* PF* Pipeline (string, binary) commands to interface
** pfadd / pfcount : BinaryRedisPipeline, RedisPipeline
** pfmerge : MultiKeyBinaryRedisPipeline, MultiKeyCommandsPipeline
This commit is contained in:
Jungtaek Lim
2014-04-05 23:48:49 +09:00
parent 11f05ec161
commit c2cf79c972
9 changed files with 51 additions and 4 deletions

View File

@@ -1261,7 +1261,7 @@ public class BinaryClient extends Connection {
public void pfcount(final byte[] key) {
sendCommand(PFCOUNT, key);
}
public void pfmerge(final byte[] deskey, final byte[]... sourcekeys) {
sendCommand(PFMERGE, joinParameters(deskey, sourcekeys));
public void pfmerge(final byte[] destkey, final byte[]... sourcekeys) {
sendCommand(PFMERGE, joinParameters(destkey, sourcekeys));
}
}