public RegionState getRegionState(final String encodedRegionName) {
    final RegionStateNode node = encodedRegionsMap.get(encodedRegionName);
    if (node == null) {
      return null;
    }
    return node.toRegionState();
  }
Returns A snapshot of region state nodes for all the regions.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/assignment/RegionStates.java