Get an {@link Long} property override value.
@param name the {@link CircuitBreaker} name.
@param key the property override key.
@return the property override value, or null if it is not found.
504876
private Long getLongPropertyOverrideValue(String name, String key) {
        if (properties != null) {
            String propertyName = getPropertyName(name, key);

            String propertyOverrideValue = properties.getProperty(propertyName);

            if (propertyOverrideValue != null) {
                try {
                    return Long.parseLong(propertyOverrideValue);
                }
                catch (NumberFormatException e) {
                    logger.error("Could not parse property override key={}, value={}",
                            key, propertyOverrideValue);
                }
            }
        }
        return null;
    }
954940
public static long getLong(String name, long defaultVal){
        if(getConfiguration().containsKey(name)){
            return getConfiguration().getLong(name);
        } else {
            return defaultVal;
        }
    }
345339
public long optLong(String key){
		LazyNode token=getOptionalFieldToken(key);
		if(token==null)return 0l;
		if(token.type==LazyNode.VALUE_NULL)return 0l;
		return token.getLongValue();
	}
430723
@Override
	public final void setLongProperty(String name, long value) throws JMSException
    {
        setProperty(name,Long.valueOf(value));
    }
673945
public Long getLong(String key)
   {
      Long longValue = null;
      String sVal = getText(key);
      if ((sVal != null) && (sVal.length() > 0))
      {
         longValue = Long.valueOf(sVal);
      }
      return longValue;
   }
689789
public PropertyBuilder longType(final String name) {
        name(name);
        type(Property.Type.Long);
        return this;
    }
1048998
public String getCustomProperty(String name) {
		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.entry(tc, "getCustomProperty", name);

		// String value = customProperties.getProperty(name);

		if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
			SibTr.exit(tc, "getCustomProperty", "value");

		return null;// tbd
	}
403127
public Property getProperty(String... name) {
        if (name == null || name.length == 0) return null;

        for (Property p : properties) {
            if (Objects.equals(name[0], p.name)) {
                if (name.length == 1)
                    return p;
                else
                    return p.getProperty(Arrays.copyOfRange(name, 1, name.length));
            }
        }
        return null;
    }
414249
protected final Property getRequiredProperty(String name) throws ConstraintViolationException {
        Property p = getProperties().getProperty(name);
        if (p == null) {
            throw new ConstraintViolationException(String.format("Missing %s property", name));
        }
        return p;
    }
1099060
private K getKey(String name) {
        if (null != this.keys) {
            // we have locally stored values
            final K[] temp = this.keys;
            K key;
            for (int i = 0; i < temp.length; i++) {
                key = temp[i];
                if (null != key && name.equals(key.toString())) {
                    return key;
                }
            }
        }
        // if nothing found locally and we have a parent, check that
        if (null != this.parentMap) {
            return this.parentMap.getKey(name);
        }
        return null;
    }
808716
public static Long getPropertyLong(Class<?> aClass, String key,  long aDefault)
	{
		return getSettings().getPropertyLong(aClass, key, aDefault);
	}
162749
@Override
    public Object getValue(String name)
    {
        Object value = super.getValue(name);
        if (value != null)
        {
            return value;
        }
        else
        {
            return configMap.get(name);
        }
    }
1209886
public String getProperty(String name) {
        BugProperty prop = lookupProperty(name);
        return prop != null ? prop.getValue() : null;
    }
515014
private String getPropertyValue( final String    key )
    {
        String    value = null;
        for ( Properties    source : _sources )
        {
            value = source.getProperty( key );

            if ( value != null )
            {
                break;
            }
        }

        return value;
    }
757600
@Nullable
  private String getProperty(final String name) {
    assert name != null;
    ensureConfigured();
    return evaluate(System.getProperty(name, props.getProperty(name)));
  }
1193172
public String getValue(String name) {
	    	Properties properties = loadProperties();
	    	return (String) properties.getProperty(name);
    }
1250560
public Long getLong(String name) {
        Object o = get(name);
        if (o instanceof Number) {
            return ((Number)o).longValue();
        }

        if (o != null) {
            try {
                return Long.parseLong(o.toString());
            }
            catch (NumberFormatException e) {}
        }
        return null;
    }