Parse named parameter as Long.

@param name
parameter name
@return Long value
@throws RepositoryConfigurationException
6673
public Long getParameterLong(String name) throws RepositoryConfigurationException
   {
      try
      {
         return StringNumberParser.parseLong(getParameterValue(name));
      }
      catch (NumberFormatException e)
      {
         throw new RepositoryConfigurationException(name + ": unparseable Long. " + e, e);
      }
   }
1249242
public Long getParameterTime(String name) throws RepositoryConfigurationException
   {
      try
      {
         return StringNumberParser.parseTime(getParameterValue(name));
      }
      catch (NumberFormatException e)
      {
         throw new RepositoryConfigurationException(name + ": unparseable time (as Long). " + e, e);
      }
   }
223053
public long getLong(String attribute, String namespace) {
        return Long.parseLong(get(attribute, namespace));
    }
345416
public String getParameter(String name)
    {
        if (!_paramsExtracted) extractParameters();
        return (String) _parameters.getValue(name, 0);
    }
833493
public static Long getLong(String name, Long defaultValue) {
		return Long.getLong(name, defaultValue);
	}
744771
public long getLong(String name, long defaultVal){
        if(this.configuration.containsKey(name)){
            return this.configuration.getLong(name);
        } else {
            return defaultVal;
        }
    }
1236861
public long getLong(Enum<?> key, long defaultValue)
    {
        if (key == null)
        {
            return defaultValue;
        }

        return getLong(key.name(), defaultValue);
    }
1046846
public long getAsLong(final String name, final long defaultValue) {
        return AtsdUtil.getPropertyLongValue(fullName(name), clientProperties, defaultValue);
    }
641952
public void setLongAttribute(String name, Long value) {
		ensureValue();
		Attribute attribute = new LongAttribute(value);
		attribute.setEditable(isEditable(name));
		getValue().getAllAttributes().put(name, attribute);
	}
481292
public static void validateRepoName(String name) {
        if (name.isEmpty()) {
            throw new InvalidRepositoryNameException(String.format("Invalid empty repository name \"%s\"", name));
        }

        if (name.length() > RepositoryNameTotalLengthMax) {
            throw new InvalidRepositoryNameException(String.format("Repository name \"%s\" is longer than "
                    + RepositoryNameTotalLengthMax, name));
        }

        String[] components = name.split("/");

        for (String component : components) {
            if (!RepositoryNameComponentAnchoredRegexp.matcher(component).matches()) {
                throw new InvalidRepositoryNameException(String.format(
                        "Repository name \"%s\" is invalid. Component: %s", name, component));
            }
        }
    }
1315278
public AnnotationValueBuilder<T> member(String name, long... longs) {
        if (longs != null) {
            values.put(name, longs);
        }
        return this;
    }
1259926
public final long getAttributeValueAsLong(String attributeName) {
    Attribute attribute = getAttribute(attributeName);
    if (attribute == null) {
      return 0;
    }
    else {
      try {
        return attribute.getLongValue();
      }
      catch (DataConversionException ex) {
        return 0;
      }
    }
  }
399592
public Long optLong(String name, Long fallback) {
        return optLong(name, fallback, true);
    }
503438
public static Long getLongProperty(Configuration config, String key) throws DeployerConfigurationException {
        return getLongProperty(config, key, null);
    }
655570
public CommandLineBuilder withLongOption(String name, String value) {
    cl.addOptionValue(name, value, false);
    return this;
  }
530579
public static Long getLong(ValueData valueData) throws RepositoryException
   {
      if (valueData instanceof TransientValueData)
      {
         return getLong(((TransientValueData)valueData).delegate);
      }
      
      return ((AbstractValueData) valueData).getLong();
   }
211521
private String getMandatory(String name) {
        if (!config.containsKey(name)) {
            throw new ProbeConfigurationException(name + " parameter is missing.");
        } else {
            return config.getString(name);
        }

    }