MediaWiki  REL1_19
APCBagOStuff Class Reference

This is a wrapper for APC's shared memory functions. More...

Inheritance diagram for APCBagOStuff:
Collaboration diagram for APCBagOStuff:

List of all members.

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.

Detailed Description

This is a wrapper for APC's shared memory functions.

Definition at line 8 of file APCBagOStuff.php.


Member Function Documentation

APCBagOStuff::delete ( key,
time = 0 
)

Delete an item.

Parameters:
$keystring
$timeint 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.

Parameters:
$keystring
Returns:
bool|Object

Reimplemented from BagOStuff.

Definition at line 9 of file APCBagOStuff.php.

Reimplemented from BagOStuff.

Definition at line 31 of file APCBagOStuff.php.

References $keys.

APCBagOStuff::set ( key,
value,
exptime = 0 
)

Set an item.

Parameters:
$keystring
$valuemixed
$exptimeint Either an interval in seconds or a unix timestamp for expiry

Reimplemented from BagOStuff.

Definition at line 19 of file APCBagOStuff.php.


The documentation for this class was generated from the following file: