private bool IsOnSameRack(DatanodeDescriptor left, DatanodeStorageInfo right) { return(cluster.IsOnSameRack(left, right.GetDatanodeDescriptor())); }
public override bool Match(NetworkTopology cluster, Node left, Node right) { return(cluster.IsOnSameRack(left, right)); }