public function DrupalMemcachedInterface::addServer in Memcache Storage 8
Adds a new memcached server.
Parameters
$host: Memcached host name. For example:
- 127.0.0.1
- /path/to/memcached.socket.
$port: Port for memcached host. Always 0 for unix sockets.
1 call to DrupalMemcachedInterface::addServer()
2 methods override DrupalMemcachedInterface::addServer()
- DrupalMemcache::addServer in src/
DrupalMemcache.php - Adds a new memcached server.
- DrupalMemcached::addServer in src/
DrupalMemcached.php - Adds a new memcached server.
File
- src/
DrupalMemcachedInterface.php, line 41
Class
Namespace
Drupal\memcache_storageCode
public function addServer($host, $port);