public static PartitionRegionInfo getPartitionRegionInfo(final Region<?, ?> region) {
    try {
      PartitionedRegion partitionedRegion = isPartitionedCheck(region);
      InternalCache cache = (InternalCache) region.getCache();
      return partitionedRegion.getRedundancyProvider().buildPartitionedRegionInfo(false,
          cache.getInternalResourceManager().getLoadProbe());
    } catch (ClassCastException ignore) {
      // not a PR so return null
    }
    return null;
  }
Gathers details about the specified partitioned region. Returns null if the partitioned region
is not locally defined.

@param region the region to get info about
@return details about the specified partitioned region
@since GemFire 6.0
geode-core/src/main/java/org/apache/geode/cache/partition/PartitionRegionHelper.java