/**
  * {@inheritdoc}
  *
  * Sets any values memcached ini values.
  *
  * @see http://www.php.net/manual/en/memcache.ini.php
  */
 protected function setOptions(array $options)
 {
     foreach ($options as $key => $value) {
         if (in_array($key, array('memcache.allow_failover', 'memcache.max_failover_attempts', 'memcache.chunk_size', 'memcache.default_port', 'memcache.hash_strategy', 'memcache.hash_function', 'memcache.protocol', 'memcache.redundancy', 'memcache.session_redundancy', 'memcache.compress_threshold', 'memcache.lock_timeout'))) {
             ini_set($key, $value);
         }
     }
     parent::setOptions($options);
 }
 /**
  * {@inheritdoc}
  *
  * Sets any values memcached ini values.
  *
  * @see https://github.com/php-memcached-dev/php-memcached/blob/master/memcached.ini
  */
 protected function setOptions(array $options)
 {
     foreach ($options as $key => $value) {
         if (in_array($key, array('memcached.sess_locking', 'memcached.sess_lock_wait', 'memcached.sess_prefix', 'memcached.compression_type', 'memcached.compression_factor', 'memcached.compression_threshold', 'memcached.serializer'))) {
             ini_set($key, $value);
         }
     }
     parent::setOptions($options);
 }