public ArrayList getBucketRegionProfiles() {
    final ProxyBucketRegion[] bucs = buckets;
    if (bucs == null) {
      return null;
    }
    ArrayList<BucketProfileAndId> result = new ArrayList<>(bucs.length);
    for (int i = 0; i < bucs.length; i++) {
      // Fix for 41436 - we need to include buckets that are still initializing here
      // we must start including buckets in this list *before* those buckets exchange
      // profiles.
      BucketRegion br = bucs[i].getCreatedBucketRegion();
      if (br != null) {
        result.add(new BucketProfileAndId(br.getProfile(), i));
      }
    }
    if (result.size() == 0) {
      result = null;
    }
    return result;
  }
Returns a possibly null list of this advisor's real bucket profiles. A real bucket profile is
one that for a bucket that actually has storage in this vm.

@return a list of BucketProfileAndId instances; may be null
@since GemFire 5.5
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/RegionAdvisor.java