public float getOrComputeWeightedRegionCacheRatio(int region, int server) {
    return getTotalRegionHFileSizeMB(region) * getOrComputeRegionCacheRatio(region, server);
  }
Returns the weighted cache ratio of a region on the given region server
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/BalancerClusterState.java