MediaWiki
REL1_19
|
This is a wrapper for APC's shared memory functions. More...
Public Member Functions | |
delete ($key, $time=0) | |
Delete an item. | |
get ($key) | |
Get an item with the given key. | |
keys () | |
set ($key, $value, $exptime=0) | |
Set an item. |
This is a wrapper for APC's shared memory functions.
Definition at line 8 of file APCBagOStuff.php.
APCBagOStuff::delete | ( | $ | key, |
$ | time = 0 |
||
) |
Delete an item.
$key | string |
$time | int Amount of time to delay the operation (mostly memcached-specific) |
Reimplemented from BagOStuff.
Definition at line 25 of file APCBagOStuff.php.
APCBagOStuff::get | ( | $ | key | ) |
Get an item with the given key.
Returns false if it does not exist.
$key | string |
Reimplemented from BagOStuff.
Definition at line 9 of file APCBagOStuff.php.
APCBagOStuff::set | ( | $ | key, |
$ | value, | ||
$ | exptime = 0 |
||
) |
Set an item.
$key | string |
$value | mixed |
$exptime | int Either an interval in seconds or a unix timestamp for expiry |
Reimplemented from BagOStuff.
Definition at line 19 of file APCBagOStuff.php.