private float getAverageLoad() {
    if (averageLoad == -1) {
      float totalWeight = 0;
      float totalLoad = 0;
      for (Member member : members.values()) {
        totalLoad += member.getTotalLoad();
        totalWeight += member.getWeight();
      }

      averageLoad = totalLoad / totalWeight;
    }

    return averageLoad;
  }
Calculate the target weighted amount of data on each node.
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/rebalance/model/PartitionedRegionLoadModel.java