docs: public static int getSizeAsInt(final String propertyName, final int defaultValue)
      {
          final String propertyValue = getProperty(propertyName);
          if (propertyValue != null)
          {
              final long value = parseSize(propertyName, propertyValue);
              if (value < 0 || value > Integer.MAX_VALUE)
              {
                  throw new NumberFormatException(
                      propertyName + " must positive and less than Integer.MAX_VALUE :" + value);
              }
  
              return (int)value;
          }
  
          return defaultValue;
      }