public Integer getInteger(String name, Integer defaultVal) {
    Integer v;
    if (containsKey(name)) {
      v = Integer.parseInt(getProperty(name));
    } else {
      v = defaultVal;
    }
    return v;
  }
Read an integer from the properties instance
@param name The property name
@param defaultVal The default value to use if the property is not found
@return the integer value
ambry-api/src/main/java/com/github/ambry/config/VerifiableProperties.java