public void addWeight(long weight, long weightForSsd) {
      this.weight += weight;
      this.weightForSsd += weightForSsd;
    }
add weight
@param weight       the weight
@param weightForSsd the weight for ssd
hbase-common/src/main/java/org/apache/hadoop/hbase/HDFSBlocksDistribution.java