MediaWiki
REL1_22
|
A wrapper class for the pure-PHP memcached client, exposing a BagOStuff interface. More...
Public Member Functions | |
__construct ($params) | |
Constructor. | |
decr ($key, $value=1) | |
getMulti (array $keys) | |
incr ($key, $value=1) | |
lock ($key, $timeout=0) | |
setDebug ($debug) | |
unlock ($key) |
A wrapper class for the pure-PHP memcached client, exposing a BagOStuff interface.
Definition at line 29 of file MemcachedPhpBagOStuff.php.
MemcachedPhpBagOStuff::__construct | ( | $ | params | ) |
Constructor.
Available parameters are:
$params | array |
Definition at line 44 of file MemcachedPhpBagOStuff.php.
References $params, and MemcachedBagOStuff\applyDefaultParams().
MemcachedPhpBagOStuff::decr | ( | $ | key, |
$ | value = 1 |
||
) |
$key | string |
$value | int |
Reimplemented from BagOStuff.
Definition at line 99 of file MemcachedPhpBagOStuff.php.
References $key, $value, and MemcachedBagOStuff\encodeKey().
MemcachedPhpBagOStuff::getMulti | ( | array $ | keys | ) |
$keys | Array |
Reimplemented from BagOStuff.
Definition at line 63 of file MemcachedPhpBagOStuff.php.
References array().
MemcachedPhpBagOStuff::incr | ( | $ | key, |
$ | value = 1 |
||
) |
$key | string |
$value | int |
Reimplemented from BagOStuff.
Definition at line 90 of file MemcachedPhpBagOStuff.php.
References $key, $value, and MemcachedBagOStuff\encodeKey().
MemcachedPhpBagOStuff::lock | ( | $ | key, |
$ | timeout = 0 |
||
) |
$key | |
$timeout | int |
Reimplemented from BagOStuff.
Definition at line 73 of file MemcachedPhpBagOStuff.php.
References $key, and MemcachedBagOStuff\encodeKey().
MemcachedPhpBagOStuff::setDebug | ( | $ | debug | ) |
$debug | bool |
Reimplemented from BagOStuff.
Definition at line 55 of file MemcachedPhpBagOStuff.php.
References $debug.
MemcachedPhpBagOStuff::unlock | ( | $ | key | ) |
$key | string |
Reimplemented from BagOStuff.
Definition at line 81 of file MemcachedPhpBagOStuff.php.
References $key, and MemcachedBagOStuff\encodeKey().