@Override
    protected double cost() {
      return scale(0, 1, 1 - cacheRatio);
    }
Collect the amount of region cached for all the regions from all the active region servers.
hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/CacheAwareLoadBalancer.java