@Deprecated
  public void setGlobalProperties(Properties globalProps) {
    globalProperties = globalProps;
    String propVal = globalProps.getProperty(PartitionAttributesFactory.GLOBAL_MAX_MEMORY_PROPERTY);
    if (propVal != null) {
      try {
        setTotalMaxMemory(Integer.parseInt(propVal));
      } catch (RuntimeException ignore) {
        totalMaxMemory = PartitionAttributesFactory.GLOBAL_MAX_MEMORY_DEFAULT;
      }
    }
    propVal = globalProps.getProperty(PartitionAttributesFactory.GLOBAL_MAX_BUCKETS_PROPERTY);
    if (propVal != null) {
      try {
        setTotalNumBuckets(Integer.parseInt(propVal));
      } catch (RuntimeException ignore) {
        totalNumBuckets = PartitionAttributesFactory.GLOBAL_MAX_BUCKETS_DEFAULT;
      }
    }
  }
Set global properties

@deprecated use {@link #setTotalMaxMemory(long)} and {@link #setTotalNumBuckets(int)} in
            GemFire 5.1 and later releases
@param globalProps those properties for the entire Partitioned Region
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionAttributesImpl.java