code: public void configure(ConfigParams config) {
  		_interval = config.getAsLongWithDefault("interval", _defaultInterval);
  		_resetTimeout = config.getAsLongWithDefault("reset_timeout", _resetTimeout);
  	}
docs: Configures component by passing configuration parameters.
  
  @param config configuration parameters to be set.