code: private long convertToBytes(DataSize size, int defaultValue) {
  		if (size != null && !size.isNegative()) {
  			return size.toBytes();
  		}
  		return defaultValue;
  	}
docs: Return the amount of bytes from the specified {@link DataSize size}. If the size is
  {@code null} or negative, returns {@code defaultValue}.
  @param size the data size to handle
  @param defaultValue the default value if the size is {@code null} or negative
  @return the amount of bytes to use