public void setLoadFactor(float loadFactor) {
    if (loadFactor <= 0) {
      throw new IllegalArgumentException(
          String.format("loadFactor must be > 0, value is %s",
              loadFactor));
    }
    regionAttributes.loadFactor = loadFactor;
    regionAttributes.setHasLoadFactor(true);
  }
Sets the entry load factor for the next {@code RegionAttributes} created. This value is used in
initializing the map that holds the entries. Default is 0.75.

@param loadFactor the load factor of the entry map
@throws IllegalArgumentException if loadFactor is nonpositive
@see java.util.HashMap
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java