public int getMergeMinRegionCount(NormalizeContext context) {
      String stringValue =
        context.getOrDefault(MERGE_MIN_REGION_COUNT_KEY, Function.identity(), null);
      if (stringValue == null) {
        stringValue = context.getOrDefault(MIN_REGION_COUNT_KEY, Function.identity(), null);
        if (stringValue != null) {
          LOG.debug(
            "The config key {} in table descriptor is deprecated. Instead please use {}. "
              + "In future release we will remove the deprecated config.",
            MIN_REGION_COUNT_KEY, MERGE_MIN_REGION_COUNT_KEY);
        }
      }
      final int mergeMinRegionCount = stringValue == null ? 0 : Integer.parseInt(stringValue);
      if (mergeMinRegionCount <= 0) {
        return getMergeMinRegionCount();
      }
      return mergeMinRegionCount;
    }
Holds the configuration values read from {@link Configuration}. Encapsulation in a POJO enables
atomic hot-reloading of configs without locks.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/normalizer/SimpleRegionNormalizer.java