code: private static int getProperty(String prefix, String name, int defaultValue) {
          int result = defaultValue;
  
          try {
              result = Integer.parseInt(System.getProperty(prefix + name));
          } catch (NumberFormatException e) {
              LOG.warn("Value for " + prefix + name + " must be an integer. Using default " + defaultValue);
          }
          return result;
      }
docs: Get an integer from System properties
  
  @param prefix
  @param name
  @param defaultValue
  @return