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:
$inputType Integer: cache type, one the the CACHE_* constants.

Definition at line 39 of file ObjectCache.php.

References $wgCaches, $wgMemCachedDebug, $wgMemCachedPersistent, and $wgMemCachedServers.

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

& wfGetMainCache (  ) 

Get the main cache object.

Definition at line 101 of file ObjectCache.php.

References $wgMainCacheType, and wfGetCache().

Referenced by LoadMonitor_MySQL::getLagTimes(), and MediaWikiParserTestSuite::suite().

& wfGetMessageCacheStorage (  ) 

Get the cache object used by the message cache.

Definition at line 108 of file ObjectCache.php.

References $wgMessageCacheType, and wfGetCache().

Referenced by MediaWikiParserTestSuite::suite().

& wfGetParserCacheStorage (  ) 

Get the cache object used by the parser cache.

Definition at line 115 of file ObjectCache.php.

References $wgParserCacheType, and wfGetCache().

Referenced by MediaWikiParserTestSuite::suite().


Variable Documentation

$wgCaches = array()


Generated on Sat Apr 30 22:57:25 2011 for MediaWiki by  doxygen 1.5.9