// Configure method are configures component by passing configuration parameters.
//   - config    configuration parameters to be set.
Configure method are configures component by passing configuration parameters.
- config    configuration parameters to be set.
// Configure method are configures component by passing configuration parameters . // - config configuration parameters to be set .
func (c *MemcachedLock) Configure(config *cconf.ConfigParams) {
	c.Lock.Configure(config)
	c.connectionResolver.Configure(config)
	c.timeout = config.GetAsIntegerWithDefault("options.timeout", c.timeout)
}
func ( c * MemcachedLock ) Configure ( config * cconf . ConfigParams ) { c . Lock . Configure ( config ) c . connectionResolver . Configure ( config ) c . timeout = config . GetAsIntegerWithDefault ( " " , c . timeout ) }
Configure method are configures component by passing configuration parameters.
Configure method are configures component by passing configuration parameters .
// c.maxKeySize = config.GetAsIntegerWithDefault("options.max_key_size", c.maxKeySize) // c.maxExpiration = config.GetAsLongWithDefault("options.max_expiration", c.maxExpiration) // c.maxValue = config.GetAsLongWithDefault("options.max_value", c.maxValue) // c.poolSize = config.GetAsIntegerWithDefault("options.pool_size", c.poolSize) // c.reconnect = config.GetAsIntegerWithDefault("options.reconnect", c.reconnect) // c.retries = config.GetAsIntegerWithDefault("options.retries", c.retries) // c.failures = config.GetAsIntegerWithDefault("options.failures", c.failures) // c.retry = config.GetAsIntegerWithDefault("options.retry", c.retry) // c.remove = config.GetAsBooleanWithDefault("options.remove", c.remove) //c.idle = config.GetAsIntegerWithDefault("options.idle", c.idle)