/** * 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()); }
/** * 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()); }
public Map<Integer, SizeEntry> getSizeForLocalPrimaryBuckets() { return getSizeLocallyForBuckets(getAllLocalPrimaryBucketIds()); }
List<Integer> list = new ArrayList<Integer>(); list.addAll(buckets); bucketSizes = this.dataStore.getSizeLocallyForBuckets(list);
if (buckets != null) { if (this.dataStore != null) { bucketSizes = this.dataStore.getSizeLocallyForBuckets(buckets);
Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( allBuckets); Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( bucketIds);
Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( allBuckets); Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( bucketIds);
Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( allBuckets); Map<Integer, SizeEntry> bucketSizes = null; if (pr.getDataStore() != null) { bucketSizes = pr.getDataStore().getSizeLocallyForBuckets( bucketIds);
sizes = ds.getSizeEstimateLocallyForBuckets(this.bucketIds); } else { sizes = ds.getSizeLocallyForBuckets(this.bucketIds);
sizes = ds.getSizeEstimateLocallyForBuckets(this.bucketIds); } else { sizes = ds.getSizeLocallyForBuckets(this.bucketIds);