private int getIntegerInternal(final String key, final int defaultValue) {

		int retVal = defaultValue;

		try {
			synchronized (this.confData) {

				if (this.confData.containsKey(key)) {
					retVal = Integer.parseInt(this.confData.get(key));
				}
			}
		} catch (NumberFormatException e) {

			if (LOG.isDebugEnabled()) {
				LOG.debug(StringUtils.stringifyException(e));
			}
		}

		return retVal;
	}
private int getIntegerInternal ( final String key , final int defaultValue ) { int retVal = defaultValue ; try { synchronized ( this . confData ) { if ( this . confData . containsKey ( key ) ) { retVal = Integer . parseInt ( this . confData . get ( key ) ) ; } } } catch ( NumberFormatException e ) { if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( StringUtils . stringifyException ( e ) ) ; } } return retVal ; }
Returns the value associated with the given key as an integer.

@param key
the key pointing to the associated value
@param defaultValue
the default value which is returned in case there is no value associated with the given key
@return the (default) value associated with the given key