public long getBlocksLocalWithSsdWeight(String host) {
    return getBlocksLocalityWeightInternal(host, HostAndWeight::getWeightForSsd);
  }
Get the blocks local weight with ssd for a given host
@param host the host name
@return the blocks local with ssd weight of the given host
hbase-common/src/main/java/org/apache/hadoop/hbase/HDFSBlocksDistribution.java