/** * This method iterates over localBucket2RegionMap and returns collective size of the primary * bucket regions. * * @return the map of bucketIds and their associated sizes, or {@link Collections#EMPTY_MAP}when * the size is zero */ public Map<Integer, SizeEntry> getSizeForLocalBuckets() { return getSizeLocallyForBuckets(this.localBucket2RegionMap.keySet()); }
public Map<Integer, SizeEntry> getSizeForLocalPrimaryBuckets() { return getSizeLocallyForBuckets(getAllLocalPrimaryBucketIds()); }
List<Integer> list = new ArrayList<Integer>(); list.addAll(buckets); bucketSizes = this.dataStore.getSizeLocallyForBuckets(list);
sizes = ds.getSizeEstimateLocallyForBuckets(this.bucketIds); } else { sizes = ds.getSizeLocallyForBuckets(this.bucketIds);