Memcached::setMulti

(PECL memcached >= 0.1.0) Store multiple items public bool Memcached::setMulti ( array $items [, int $expiration ] ) Memcached::setMulti() is similar to Memcached::set(), but instead of a single key/value item, it works on multiple items specified in items. The expiration time applies to all the items at once. Parameters: items An array of key/value pairs to store on t

Memcached::setByKey

(PECL memcached >= 0.1.0) Store an item on a specific server public bool Memcached::setByKey ( string $server_key, string $key, mixed $value [, int $expiration ] ) Memcached::setByKey() is functionally equivalent to Memcached::set(), except that the free-form server_key can be used to map the key to a specific server. This is useful if you need to keep a bunch of related keys on a certain server. Paramete

Memcached::set

(PECL memcached >= 0.1.0) Store an item public bool Memcached::set ( string $key, mixed $value [, int $expiration ] ) Memcached::set() stores the value on a memcache server under the specified key. The expiration parameter can be used to control when the value is considered expired. The value can be any valid PHP type except for resources, because those cannot be represented in a serialized form. If the Memcached::OPT_C

Memcached::resetServerList

(PECL memcached >= 2.0.0) Clears all servers from the server list public bool Memcached::resetServerList ( void ) Memcached::resetserverlist() removes all memcache servers from the known server list, reseting it back to empty. Returns: Returns TRUE on success or FALSE on failure. See also: Memcached::addServe

Memcached::replaceByKey

(PECL memcached >= 0.1.0) Replace the item under an existing key on a specific server public bool Memcached::replaceByKey ( string $server_key, string $key, mixed $value [, int $expiration ] ) Memcached::replaceByKey() is functionally equivalent to Memcached::replace(), except that the free-form server_key can be used to map the key to a specific server. This is useful if you need to keep a bunch of related keys on a cert

Memcached::replace

(PECL memcached >= 0.1.0) Replace the item under an existing key public bool Memcached::replace ( string $key, mixed $value [, int $expiration ] ) Memcached::replace() is similar to Memcached::set(), but the operation fails if the key does not exist on the server. Parameters: key The key under which to store the value. value The valu

Memcached::quit

(PECL memcached >= 2.0.0) Close any open connections public bool Memcached::quit ( void ) Memcached::quit() closes any open connections to the memcache servers. Returns: Returns TRUE on success or FALSE on failure.

Memcached::prependByKey

(PECL memcached >= 0.1.0) Prepend data to an existing item on a specific server public bool Memcached::prependByKey ( string $server_key, string $key, string $value ) Memcached::prependByKey() is functionally equivalent to Memcached::prepend(), except that the free-form server_key can be used to map the key to a specific server. Parameters: server_key The key identifyi

Memcached::prepend

(PECL memcached >= 0.1.0) Prepend data to an existing item public bool Memcached::prepend ( string $key, string $value ) Memcached::prepend() prepends the given value string to the value of an existing item. The reason that value is forced to be a string is that prepending mixed types is not well-defined. Note: If the Memcached::OPT_COMPRESSION is enabled, the operation will fail and a warning will be issued, because

Memcached::isPristine

(PECL memcached >= 2.0.0) Check if the instance was recently created public bool Memcached::isPristine ( void ) Memcached::isPristine() checks if the Memcache instance was recently created. Returns: Returns the true if instance is recently created, false otherwise. See also: Memcached::isPersistent() -