private static ConsistentHash constructConsistentHashInstance(
Configuration c, boolean withTopology) {
HashConfiguration hashCfg = c.clustering().hash();
return constructConsistentHashInstance(hashCfg.consistentHash(),
hashCfg.hash(), hashCfg.numVirtualNodes(),
new GroupManagerImpl(hashCfg.groups().groupers()), withTopology);
}
private static ConsistentHash constructConsistentHashInstance(
ConsistentHash ch, Hash hashFunction, int numVirtualNodes,
GroupManager groupManager, boolean withTopology) {