Memcached::deleteMultiByKey

(PECL memcached >= 2.0.0) Delete multiple items from a specific server public bool Memcached::deleteMultiByKey ( string $server_key, array $keys [, int $time = 0 ] ) Memcached::deleteMultiByKey() is functionally equivalent to Memcached::deleteMulti(), except that the free-form server_key can be used to map the keys to a specific server. Parameters: server_key The key

Memcached::deleteMulti

(PECL memcached >= 2.0.0) Delete multiple items public bool Memcached::deleteMulti ( array $keys [, int $time = 0 ] ) Memcached::deleteMulti() deletes the array of keys from the server. The time parameter is the amount of time in seconds (or Unix time until which) the client wishes the server to refuse add and replace commands for these keys. For this amount of time, the item is put into a delete queue, which means that

Memcached::deleteByKey

(PECL memcached >= 0.1.0) Delete an item from a specific server public bool Memcached::deleteByKey ( string $server_key, string $key [, int $time = 0 ] ) Memcached::deleteByKey() is functionally equivalent to Memcached::delete(), except that the free-form server_key can be used to map the key to a specific server. Parameters: server_key The key identifying the server

Memcached::delete

(PECL memcached >= 0.1.0) Delete an item public bool Memcached::delete ( string $key [, int $time = 0 ] ) Memcached::delete() deletes the key from the server. The time parameter is the amount of time in seconds (or Unix time until which) the client wishes the server to refuse add and replace commands for this key. For this amount of time, the item is put into a delete queue, which means that it won't possible to retrieve

Memcached::decrementByKey

(PECL memcached >= 2.0.0) Decrement numeric item's value, stored on a specific server public int Memcached::decrementByKey ( string $server_key, string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] ) Memcached::decrementByKey() decrements a numeric item's value by the specified offset. If the item's value is not numeric, an error will result. If the operation would decrease the value below 0,

Memcached::decrement

(PECL memcached >= 0.1.0) Decrement numeric item's value public int Memcached::decrement ( string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] ) Memcached::decrement() decrements a numeric item's value by the specified offset. If the item's value is not numeric, an error will result. If the operation would decrease the value below 0, the new value will be 0. Memcached::decrement() will set t

Memcached::__construct

(PECL memcached >= 0.1.0) Create a Memcached instance public Memcached::__construct ([ string $persistent_id ] ) Creates a Memcached instance representing the connection to the memcache servers. Parameters: persistent_id By default the Memcached instances are destroyed at the end of the request. To create an instance that persists between requests, use persistent_id to specify a unique

Memcached::casByKey

(PECL memcached >= 0.1.0) Compare and swap an item on a specific server public bool Memcached::casByKey ( float $cas_token, string $server_key, string $key, mixed $value [, int $expiration ] ) Memcached::casByKey() is functionally equivalent to Memcached::cas(), 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 serv

Memcached::cas

(PECL memcached >= 0.1.0) Compare and swap an item public bool Memcached::cas ( float $cas_token, string $key, mixed $value [, int $expiration ] ) Memcached::cas() performs a "check and set" operation, so that the item will be stored only if no other client has updated it since it was last fetched by this client. The check is done via the cas_token parameter which is a unique 64-bit value assigned to the existing item by

Memcached::appendByKey

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