@VisibleForTesting
  void updateConnectionLoadMap(ServerLocation location, String memberId, float load,
      float loadPerConnection) {
    ServerLocationAndMemberId locationAndMemberId =
        new ServerLocationAndMemberId(location, memberId);

    Map<ServerLocationAndMemberId, LoadHolder> groupMap = connectionLoadMap.get(null);
    LoadHolder holder = groupMap.get(locationAndMemberId);
    if (holder == null) {
      groupMap = connectionLoadMap.get(GatewayReceiver.RECEIVER_GROUP);
      if (groupMap != null) {
        holder = groupMap.get(locationAndMemberId);
      }
    }

    if (holder != null) {
      holder.setLoad(load, loadPerConnection);
    }
  }
Test hook to get the current load for all servers Returns a map of ServerLocation->Load for
each server.
geode-core/src/main/java/org/apache/geode/distributed/internal/LocatorLoadSnapshot.java