docs: public static Integer tryGetGlobalIntegerProperty(String key, Integer defaultValue) {
          try {
              String value = System.getenv(formatEnvironmentVariable(key));
              if (value == null) {
                  return tryGetIntegerProperty(key, defaultValue);
              } else {
                  return Integer.parseInt(value);
              }
          } catch (SecurityException | NumberFormatException e) {
              logger.error("Could not get value of global property {} due to SecurityManager. Using default value.", key, e);
              return defaultValue;
          }
      }