public void setBucketRegion(BucketRegion br) {
    // fix several bugs including 36881... creation of BR may be occurring
    // at same time another thread is destroying the PR and now that this
    // BR is visible to the destroy thread we want to prevent sending bogus
    // CreateRegion or profile update messages
    partitionedRegion.checkReadiness();
    partitionedRegion.checkClosed();
    Assert.assertTrue(realBucket == null);
    Assert.assertTrue(!advisor.isHosting());
    realBucket = br;
  }
Notify this proxy of the real bucket as its target. Future calls to this instance will then
proxy them back to the real bucket.

@param br the real bucket which will be the target for this proxy
geode-core/src/main/java/org/apache/geode/internal/cache/ProxyBucketRegion.java