public static PartitionedRegion getPartitionedRegionUsingBucketRegionName(Cache cache,
      String fullPath) {
    if (cache == null) {
      // No cache
      return null;
    }
    // fullPath = /__PR/_B_1_10
    String bucketName = getBucketName(fullPath);
    if (bucketName == null) {
      return null;
    }
    String prid = getPRPath(bucketName);
    Region region;
    final InitializationLevel oldLevel = LocalRegion.setThreadInitLevelRequirement(ANY_INIT);
    try {
      region = cache.getRegion(prid);
    } finally {
      LocalRegion.setThreadInitLevelRequirement(oldLevel);
    }
    if (!(region instanceof PartitionedRegion)) {
      return null;
    }
    return (PartitionedRegion) region;
  }
Find a ProxyBucketRegion by parsing the region fullPath

@param fullPath full region path to parse
@return ProxyBucketRegion as Bucket or null if not found
@throws PRLocallyDestroyedException if the PartitionRegion is locally destroyed
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionHelper.java