code: public void configure(ConfigParams config) throws ConfigException {
  		_timeout = config.getAsLongWithDefault("timeout", _timeout);
  		_maxSize = config.getAsLongWithDefault("max_size", _maxSize);
  	}
docs: Configures component by passing configuration parameters.
  
  @param config configuration parameters to be set.
  @throws ConfigException when component is in illegal state or configuration
  validation fails.