public Bucket getBucket(int bucketId) {
    ProxyBucketRegion pbr = buckets[bucketId];
    Bucket ret = pbr.getHostedBucketRegion();
    if (ret != null) {
      return ret;
    } else {
      return pbr;
    }
  }
Returns the real BucketRegion if it's currently locally hosted. Otherwise the ProxyBucketRegion
is returned. Note that this member may be in the process of hosting the real bucket. Until that
has completed, getBucket will continue to return the ProxyBucketRegion.

@param bucketId the index of the bucket to retrieve
@return the bucket identified by bucketId
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java