Memcached::isPersistent

(PECL memcached >= 2.0.0) Check if a persitent connection to memcache is being used public bool Memcached::isPersistent ( void ) Memcached::isPersistent() checks if the connections to the memcache servers are persistent connections. Returns: Returns true if Memcache instance uses a persistent connection, false otherwise. See also

Memcached::incrementByKey

(PECL memcached >= 2.0.0) Increment numeric item's value, stored on a specific server public int Memcached::incrementByKey ( string $server_key, string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] ) Memcached::incrementByKey() increments a numeric item's value by the specified offset. If the item's value is not numeric, an error will result. Memcached::incrementByKey() will set the item to t

Memcached::increment

(PECL memcached >= 0.1.0) Increment numeric item's value public int Memcached::increment ( string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] ) Memcached::increment() increments a numeric item's value by the specified offset. If the item's value is not numeric, an error will result. Memcached::increment() will set the item to the initial_value parameter if the key doesn't exist.

Memcached::getVersion

(PECL memcached >= 0.1.5) Get server pool version info public array Memcached::getVersion ( void ) Memcached::getVersion() returns an array containing the version info for all available memcache servers. Returns: Array of server versions, one entry per server. Examples: Memcached::getVersion() example <?php $m = new

Memcached::getStats

(PECL memcached >= 0.1.0) Get server pool statistics public array Memcached::getStats ( void ) Memcached::getStats() returns an array containing the state of all available memcache servers. See » memcache protocol specification for details on these statistics. Returns: Array of server statistics, one entry per server. Examples: Memc

Memcached::getServerList

(PECL memcached >= 0.1.0) Get the list of the servers in the pool public array Memcached::getServerList ( void ) Memcached::getServerList() returns the list of all servers that are in its server pool. Returns: The list of all servers in the server pool. Examples: Memcached::getServerList() example <?php $m = new Mem

Memcached::getServerByKey

(PECL memcached >= 0.1.0) Map a key to a server public array Memcached::getServerByKey ( string $server_key ) Memcached::getServerByKey() returns the server that would be selected by a particular server_key in all the Memcached::*ByKey() operations. Parameters: server_key The key identifying the server to store the value on or retrieve it from. Instead of hashing on th

Memcached::getResultMessage

(PECL memcached >= 1.0.0) Return the message describing the result of the last operation public string Memcached::getResultMessage ( void ) Memcached::getResultMessage() returns a string that describes the result code of the last executed Memcached method. Returns: Message describing the result of the last Memcached operation. Examples:

Memcached::getResultCode

(PECL memcached >= 0.1.0) Return the result code of the last operation public int Memcached::getResultCode ( void ) Memcached::getResultCode() returns one of the Memcached::RES_* constants that is the result of the last executed Memcached method. Returns: Result code of the last Memcached operation. Examples: Memcached::getResultCod

Memcached::getOption

(PECL memcached >= 0.1.0) Retrieve a Memcached option value public mixed Memcached::getOption ( int $option ) This method returns the value of a Memcached option. Some options correspond to the ones defined by libmemcached, and some are specific to the extension. See Memcached Constants for more information. Parameters: option One of the Memcached::OPT_* constants.