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

@@ -1503,16 +1503,4 @@ public class JedisCluster implements JedisCommands, BasicCommands {
}
}.run(key);
}
@Override
public long pfcount(final String... keys) {
return new JedisClusterCommand<Long>(connectionHandler,
timeout, maxRedirections) {
@Override
public Long execute(Jedis connection) {
return connection.pfcount(keys);
}
}.run(keys[0]);
}
}