public BucketRegion getLocalBucketById(Integer bucketId) {
    final BucketRegion bucketRegion = localBucket2RegionMap.get(bucketId);
    if (bucketRegion != null) {
      bucketRegion.waitForData();
    }
    return bucketRegion;
  }
Returns the local BucketRegion given an bucketId. Returns null if no BucketRegion exists.

@since GemFire 6.1.2.9
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java