public static void updateStats(StatisticTrackable tracker, ServerName server, byte[] regionName,
    RegionLoadStats stats) {
    if (regionName != null && stats != null && tracker != null) {
      tracker.updateRegionStats(server, regionName, stats);
    }
  }
Update the statistics for the specified region.
@param tracker    tracker to update
@param server     server from which the result was obtained
@param regionName full region name for the statistics
@param stats      statistics to update for the specified region
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ResultStatsUtil.java