return new ConsistentRoutingStrategy(hash, getTestNodes(), replicationFactor);
}
public ConsistentRoutingStrategy getRouter(int hashValue, int replicationFactor) {
List<Node> nodes = getTestNodes();
return new ConsistentRoutingStrategy(new ConstantHashFunction(hashValue),
nodes,
replicationFactor);
}