public boolean isStorageAssignedForBucket(int bucketId, int minRedundancy, boolean wait) {
    if (!wait) {
      return isStorageAssignedForBucket(bucketId);
    } else {
      return buckets[bucketId].getBucketAdvisor().waitForRedundancy(minRedundancy);
    }
  }
@param bucketId the bucket to check redundancy on
@param minRedundancy the amount of expected redundancy; ignored if wait is false
@param wait true if caller wants us to wait for redundancy
@return true if redundancy on given bucket is detected
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java