public void sizeRegion(Region<?,?> region, int numEntries) {
	    if (region == null) {
	      throw new IllegalArgumentException("Region is null.");
	    }

	    if (region instanceof PartitionedRegion) {
	      sizePartitionedRegion(region, numEntries);
	    } else {
	      sizeReplicatedOrLocalRegion(region, numEntries);
	    }
	  }
public void sizeRegion(Region<?,?> region, int numEntries) {
	    if (region == null) {
	      throw new IllegalArgumentException("Region is null.");
	    }

	    if (region instanceof PartitionedRegion) {
	      sizePartitionedRegion(region, numEntries);
	    } else {
	      sizeReplicatedOrLocalRegion(region, numEntries);
	    }
	  }
public void sizeRegion ( Region < ? , ? > region , int numEntries ) { if ( region == null ) { throw new IllegalArgumentException ( "Region is null." ) ; } if ( region instanceof PartitionedRegion ) { sizePartitionedRegion ( region , numEntries ) ; } else { sizeReplicatedOrLocalRegion ( region , numEntries ) ; } }
Calculates and logs the size of first numEntries in the region.

@param region the region to size
@param numEntries the  number of entries
The number of entries to calculate the size for. If 0
all the entries in the region are included.
Calculates and logs the size of first numEntries in the region .