private List<HRegion> getRegions(final List<RegionSpecifier> regionSpecifiers,
    final CacheEvictionStatsBuilder stats) {
    List<HRegion> regions = Lists.newArrayListWithCapacity(regionSpecifiers.size());
    for (RegionSpecifier regionSpecifier : regionSpecifiers) {
      try {
        regions.add(server.getRegion(regionSpecifier.getValue().toByteArray()));
      } catch (NotServingRegionException e) {
        stats.addException(regionSpecifier.getValue().toByteArray(), e);
      }
    }
    return regions;
  }
Find the List of HRegions based on a list of region specifiers
@param regionSpecifiers the list of region specifiers
@return the corresponding list of regions
@throws IOException if any of the specifiers is not null, but failed to find the region
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java