public void setRedundantCopies(int redundancy) {
    this.redundancy = redundancy;
    hasRedundancy = true;
  }
@throws IllegalStateException if off-heap and the actual value is not yet known (because the
        DistributedSystem has not yet been created)
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java