Memcached::resetServerList
(PECL memcached >= 2.0.0)
Memcached::resetServerList — Clears all servers from the server list
Description
Memcached::resetserverlist() removes all memcache servers from the known server list, resetting it back to empty.
Parameters
This function has no parameters.
Return Values
Returns true
on success or false
on failure.
See Also
- Memcached::addServer() - Add a server to the server pool
- Memcached::addServers() - Add multiple servers to the server pool