The Horde_memcache:: class provides easy access for Horde code to a centrally configured memcache installation.
memcached website: http://www.danga.com/memcached/
$Horde: framework/Memcache/lib/Horde/Memcache.php,v 1.1.2.7 2009/07/23 20:29:44 slusarz Exp $
Configuration parameters (set in $conf['memcache']):
'compression' - Compress data inside memcache? DEFAULT: false 'c_threshold' - The minimum value length before attempting to compress. DEFAULT: none 'hostspec' - The memcached host(s) to connect to. DEFAULT: 'localhost' 'large_items' - Allow storing large data items (larger than MEMCACHE_MAX_SIZE)? DEFAULT: true 'persistent' - Use persistent DB connections? DEFAULT: false 'prefix' - The prefix to use for the memcache keys. DEFAULT: 'horde' 'port' - The port(s) memcache is listening on. Leave empty or set to 0 if using UNIX sockets. DEFAULT: 11211 'weight' - The weight to use for each memcached host. DEFAULT: none (equal weight to all servers)
Copyright 2007-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Memcache/lib/Horde/Memcache.php (line 49)
Allow large data items?
Memcache object.
A list of items known not to exist.
Memcache defaults.
Constructor.
Delete a key.
Mark all entries on a memcache installation as expired.
Get data associated with a key.
Obtain lock on a key.
Replace the value of a key.
Set the value of a key.
Singleton.
Get the statistics output from the current memcache pool.
Release lock on a key.
Set the value of a key.
Documentation generated on Sun, 30 Jan 2011 05:19:34 +0000 by phpDocumentor 1.4.3