private void assignBuckets(final Cache cache) {
    if (isAssignBucketsAllowed(cache)) {
      for (PartitionedRegion region : ((InternalCache) cache).getPartitionedRegions()) {
        PartitionRegionHelper.assignBucketsToPartitions(region);
      }
    }
  }
Assigns buckets to individual Partitioned Regions of the Cache.

@param cache the Cache who's Partitioned Regions are accessed to assign buckets to.
@see PartitionRegionHelper#assignBucketsToPartitions(Region)
geode-core/src/main/java/org/apache/geode/distributed/ServerLauncher.java