@VisibleForTesting
  void removeFromMap(Map<String, Map<ServerLocationAndMemberId, LoadHolder>> map,
      String[] groups,
      ServerLocation location, String memberId) {
    ServerLocationAndMemberId locationAndMemberId =
        new ServerLocationAndMemberId(location, memberId);
    for (String group : groups) {
      Map<ServerLocationAndMemberId, LoadHolder> groupMap = map.get(group);
      if (groupMap != null) {
        groupMap.remove(locationAndMemberId);
        if (groupMap.size() == 0) {
          map.remove(group);
        }
      }
    }
    Map<ServerLocationAndMemberId, LoadHolder> groupMap = map.get(null);
    groupMap.remove(locationAndMemberId);
  }
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