includes/ObjectCache.php File Reference

Go to the source code of this file.

Classes

class  FakeMemCachedClient
 FakeMemCachedClient imitates the API of memcached-client v. More...

Functions

wfGetCache ($inputType)
 Get a cache object.
wfGetMainCache ()
 Get the main cache object.
wfGetMessageCacheStorage ()
 Get the cache object used by the message cache.
wfGetParserCacheStorage ()
 Get the cache object used by the parser cache.

Variables

global $wgCaches = array()


Detailed Description

Definition in file ObjectCache.php.


Function Documentation

& wfGetCache ( inputType  ) 

Get a cache object.

Parameters:
int $inputType cache type, one the the CACHE_* constants.

Definition at line 39 of file ObjectCache.php.

References $text, $type, $wgCaches, $wgMemCachedDebug, $wgMemCachedPersistent, $wgMemCachedServers, memcached::_debugprint(), and wfDebug().

Referenced by ForkController::initChild(), wfGetMainCache(), wfGetMessageCacheStorage(), and wfGetParserCacheStorage().

& wfGetMainCache (  ) 

Get the main cache object.

Definition at line 110 of file ObjectCache.php.

References $wgMainCacheType, and wfGetCache().

Referenced by LoadMonitor_MySQL::getLagTimes().

& wfGetMessageCacheStorage (  ) 

Get the cache object used by the message cache.

Definition at line 117 of file ObjectCache.php.

References $wgMessageCacheType, and wfGetCache().

& wfGetParserCacheStorage (  ) 

Get the cache object used by the parser cache.

Definition at line 124 of file ObjectCache.php.

References $wgParserCacheType, and wfGetCache().


Variable Documentation

$wgCaches = array()


Generated on Sat Sep 5 02:08:24 2009 for MediaWiki by  doxygen 1.5.9