You are here

public function MemcacheConnectionInterface::addServer in Memcache API and Integration 8.2

Adds a memcache server.

Parameters

string $server_path: The server path including port.

bool $persistent: Whether this server connection is persistent or not.

2 methods override MemcacheConnectionInterface::addServer()
MemcacheConnection::addServer in src/Connection/MemcacheConnection.php
Adds a memcache server.
MemcachedConnection::addServer in src/Connection/MemcachedConnection.php
Adds a memcache server.

File

src/Connection/MemcacheConnectionInterface.php, line 18

Class

MemcacheConnectionInterface
Defines the Memcache connection interface.

Namespace

Drupal\memcache\Connection

Code

public function addServer($server_path, $persistent = FALSE);