public RegionFactory<K, V> setInitialCapacity(int initialCapacity) {
    attrsFactory.setInitialCapacity(initialCapacity);
    return this;
  }
Sets the entry initial capacity for the next {@code RegionAttributes} created. This value is
used in initializing the map that holds the entries.

@param initialCapacity the initial capacity of the entry map
@return a reference to this RegionFactory object
@throws IllegalArgumentException if initialCapacity is negative.
@see java.util.HashMap
@see AttributesFactory#setInitialCapacity
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java