public void setOffHeap(final boolean offHeap) {
    this.offHeap = offHeap;
    hasOffHeap = true;
    if (this.offHeap && !hasLocalMaxMemory) {
      localMaxMemory = computeOffHeapLocalMaxMemory();
    }
  }
the set of the static partitions defined for the region
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java