Class RegionInfoComparator

java.lang.Object
org.apache.hadoop.hbase.master.balancer.RegionInfoComparator
All Implemented Interfaces:
Comparator<RegionInfo>

The following comparator assumes that RegionId from HRegionInfo can represent the age of the region - larger RegionId means the region is younger. This comparator is used in balanceCluster() to account for the out-of-band regions which were assigned to the server after some other region server crashed.