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 .