Memcache::setServerParams
简介
其它服务
PHP 手册
Memcached
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
Expiration Times
Callbacks
Result callbacks
Read-through cache callbacks
Sessions support
Memcached
— The Memcached class
Memcached::add
— Add an item under a new key
Memcached::addByKey
— Add an item under a new key on a specific server
Memcached::addServer
— Add a server to the server pool
Memcached::addServers
— Add multiple servers to the server pool
Memcached::append
— Append data to an existing item
Memcached::appendByKey
— Append data to an existing item on a specific server
Memcached::cas
— Compare and swap an item
Memcached::casByKey
— Compare and swap an item on a specific server
Memcached::__construct
— Create a Memcached instance
Memcached::decrement
— Decrement numeric item's value
Memcached::delete
— Delete an item
Memcached::deleteByKey
— Delete an item from a specific server
Memcached::fetch
— Fetch the next result
Memcached::fetchAll
— Fetch all the remaining results
Memcached::flush
— Invalidate all items in the cache
Memcached::get
— Retrieve an item
Memcached::getByKey
— Retrieve an item from a specific server
Memcached::getDelayed
— Request multiple items
Memcached::getDelayedByKey
— Request multiple items from a specific server
Memcached::getMulti
— Retrieve multiple items
Memcached::getMultiByKey
— Retrieve multiple items from a specific server
Memcached::getOption
— Retrieve a Memcached option value
Memcached::getResultCode
— Return the result code of the last operation
Memcached::getServerByKey
— Map a key to a server
Memcached::getServerList
— Get the list of the servers in the pool
Memcached::getStats
— Get server pool statistics
Memcached::increment
— Increment numeric item's value
Memcached::prepend
— Prepend data to an existing item
Memcached::prependByKey
— Prepend data to an existing item on a specific server
Memcached::replace
— Replace the item under an existing key
Memcached::replaceByKey
— Replace the item under an existing key on a specific server
Memcached::set
— Store an item
Memcached::setByKey
— Store an item on a specific server
Memcached::setMulti
— Store multiple items
Memcached::setMultiByKey
— Store multiple items on a specific server
Memcached::setOption
— Set a Memcached option
Memcache::setServerParams
简介
其它服务
PHP 手册