Move pfcount(keys) method to multikey interfaces

This commit is contained in:
Alok Singh
2014-04-28 16:41:09 -07:00
parent cd722e5a82
commit b633024c11
6 changed files with 10 additions and 20 deletions

View File

@@ -582,11 +582,4 @@ public class ShardedJedis extends BinaryShardedJedis implements JedisCommands {
Jedis j = getShard(key);
return j.pfcount(key);
}
@Override
public long pfcount(String... keys) {
//The command will be sent to the first shard.
Jedis j = getShard(keys[0]);
return j.pfcount(keys);
}
}