Memcached::getMultiByKey

(PECL memcached >= 0.1.0) Retrieve multiple items from a specific server public array Memcached::getMultiByKey ( string $server_key, array $keys [, string &$cas_tokens [, int $flags ]] ) Memcached::getMultiByKey() is functionally equivalent to Memcached::getMulti(), except that the free-form server_key can be used to map the keys to a specific server. Parameters: server_key

Memcached::getMulti

(PECL memcached >= 0.1.0) Retrieve multiple items public mixed Memcached::getMulti ( array $keys [, array &$cas_tokens [, int $flags ]] ) Memcached::getMulti() is similar to Memcached::get(), but instead of a single key item, it retrieves multiple items the keys of which are specified in the keys array. If cas_tokens variable is provided, it is filled with the CAS token values for the found items. Note: Unlike Mem

Memcached::getDelayedByKey

(PECL memcached >= 0.1.0) Request multiple items from a specific server public bool Memcached::getDelayedByKey ( string $server_key, array $keys [, bool $with_cas [, callable $value_cb ]] ) Memcached::getDelayedByKey() is functionally equivalent to Memcached::getDelayed(), except that the free-form server_key can be used to map the keys to a specific server. Parameters: server_key

Memcached::getDelayed

(PECL memcached >= 0.1.0) Request multiple items public bool Memcached::getDelayed ( array $keys [, bool $with_cas [, callable $value_cb ]] ) Memcached::getDelayed() issues a request to memcache for multiple items the keys of which are specified in the keys array. The method does not wait for response and returns right away. When you are ready to collect the items, call either Memcached::fetch() or Memcached::fetchAll().

Memcached::getByKey

(PECL memcached >= 0.1.0) Retrieve an item from a specific server public mixed Memcached::getByKey ( string $server_key, string $key [, callable $cache_cb [, float &$cas_token ]] ) Memcached::getByKey() is functionally equivalent to Memcached::get(), except that the free-form server_key can be used to map the key to a specific server. Parameters: server_key The key

Memcached::getAllKeys

(PECL memcached >= 2.0.0) Gets the keys stored on all the servers public array Memcached::getAllKeys ( void ) Memcached::getAllKeys() queries each memcache server and retrieves an array of all keys stored on them at that point in time. This is not an atomic operation, so it isn't a truly consistent snapshot of the keys at point in time. As memcache doesn't guarantee to return all keys you also cannot assume that all keys

Memcached::get

(PECL memcached >= 0.1.0) Retrieve an item public mixed Memcached::get ( string $key [, callable $cache_cb [, float &$cas_token ]] ) Memcached::get() returns the item that was previously stored under the key. If the item is found and cas_token variable is provided, it will contain the CAS token value for the item. See Memcached::cas() for how to use CAS tokens. Read-through caching callback may be specified via cache_

Memcached::flush

(PECL memcached >= 0.1.0) Invalidate all items in the cache public bool Memcached::flush ([ int $delay = 0 ] ) Memcached::flush() invalidates all existing cache items immediately (by default) or after the delay specified. After invalidation none of the items will be returned in response to a retrieval command (unless it's stored again under the same key after Memcached::flush() has invalidated the items). The flush does

Memcached::fetchAll

(PECL memcached >= 0.1.0) Fetch all the remaining results public array Memcached::fetchAll ( void ) Memcached::fetchAll() retrieves all the remaining results from the last request. Returns: Returns the results or FALSE on failure. Use Memcached::getResultCode() if necessary. Examples: Memcached::getDelayed() example &l

Memcached::fetch

(PECL memcached >= 0.1.0) Fetch the next result public array Memcached::fetch ( void ) Memcached::fetch() retrieves the next result from the last request. Returns: Returns the next result or FALSE otherwise. The Memcached::getResultCode() will return Memcached::RES_END if result set is exhausted. Examples: Memcached::fetch() example