public String modifyPRRegion(String prName, String lruOption, String lruActionOption,
      String lruLimitOption, String concurrencyLevelOption, String initialCapacityOption,
      String loadFactorOption, String compressorClassNameOption, String statisticsEnabledOption,
      String offHeapOption, boolean printToConsole) {
    final StringBuilder sb = new StringBuilder();
    final ArrayList<PlaceHolderDiskRegion> buckets = new ArrayList<>();

    lock(true);
    try {
      for (PlaceHolderDiskRegion dr : drMapByName.values()) {
        if (dr.isBucket()) {
          if (prName.equals(dr.getPrName())) {
            buckets.add(dr);
          }
        }
      }

      // only print info on the first bucket to fix bug 41735
      boolean printInfo = true;
      for (PlaceHolderDiskRegion dr : buckets) {
        String message = basicModifyRegion(printInfo, dr, lruOption, lruActionOption,
            lruLimitOption, concurrencyLevelOption, initialCapacityOption, loadFactorOption,
            compressorClassNameOption, statisticsEnabledOption, offHeapOption, printToConsole);
        if (printInfo) {
          sb.append(message);
        }
        printInfo = false;
      }
    } finally {
      unlock(true);
    }

    return sb.toString();
  }
Dump the metadata for a partitioned region, optionally dumping the meta data for individual
buckets.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskInitFile.java