MediaWiki master
BagOStuff
Collaboration diagram for BagOStuff:

Files

file  BacklinkCacheFactory.php
 Remember the page that was previously loaded.
 
file  CacheKeyHelper.php
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
file  FileCacheBase.php
 Data storage in the file system.
 
file  HTMLFileCache.php
 Page view caching in the file system.
 
file  LinkBatch.php
 Batch query to determine page existence.
 
file  LinkBatchFactory.php
 Factory to create LinkBatch objects for querying page existence.
 
file  LinkCache.php
 Page existence cache.
 
file  MapCacheLRU.php
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
file  ObjectCache.php
 Functions to get cache objects.
 
file  ParserCache.php
 Cache for outputs of the PHP parser.
 
file  ParserCacheFactory.php
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
file  ParserCacheFilter.php
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
file  RevisionOutputCache.php
 Cache for outputs of the PHP parser.
 
file  SqlBagOStuff.php
 Object caching using a SQL database.
 
file  UserCache.php
 Caches current user names and other info based on user IDs.
 

Classes

class  Wikimedia\ObjectCache\APCUBagOStuff
 Store data in the local server memory via APCu (php-apcu) More...
 
class  Wikimedia\ObjectCache\BagOStuff
 Abstract class for any ephemeral data store. More...
 
class  Wikimedia\ObjectCache\CachedBagOStuff
 Wrap any BagOStuff and add an in-process memory cache to it. More...
 
class  MediaWiki\Cache\CacheKeyHelper
 Helper class for mapping value objects representing basic entities to cache keys. More...
 
class  MediaWiki\Deferred\CdnCacheUpdate
 Handles purging the appropriate CDN objects given a list of URLs or Title instances. More...
 
class  Wikimedia\ObjectCache\EmptyBagOStuff
 No-op implementation that stores nothing. More...
 
interface  Wikimedia\LightweightObjectStore\ExpirationAwareness
 Generic interface providing Time-To-Live constants for expirable object storage. More...
 
class  MediaWiki\Cache\FileCacheBase
 Base class for data storage in the file system. More...
 
class  MediaWiki\Cache\GenderCache
 Look up "gender" user preference. More...
 
class  Wikimedia\ObjectCache\HashBagOStuff
 Store data in a memory for the current request/process only. More...
 
class  HTMLCacheUpdateJob
 Job to purge the HTML/file cache for all pages that link to or use another page or file. More...
 
class  MediaWiki\Cache\HTMLCacheUpdater
 Class to invalidate the CDN and HTMLFileCache entries associated with URLs/titles. More...
 
class  HTMLFileCache
 Page view caching in the file system. More...
 
class  MediaWiki\Deferred\HtmlFileCacheUpdate
 HTMLFileCache purge update for a set of titles. More...
 
interface  Wikimedia\ObjectCache\IStoreKeyEncoder
 Key-encoding methods for object caching (BagOStuff and WANObjectCache) More...
 
class  MediaWiki\Cache\LinkBatch
 Class representing a list of titles The execute() method checks them all for existence and adds them to a LinkCache object. More...
 
class  MediaWiki\Cache\LinkBatchFactory
 
class  MediaWiki\Cache\LinkCache
 Cache for article titles (prefixed DB keys) and ids linked from one source. More...
 
class  MapCacheLRU
 Store key-value entries in a size-limited in-memory LRU cache. More...
 
class  Wikimedia\ObjectCache\MediumSpecificBagOStuff
 Helper classs that implements most of BagOStuff for a backend. More...
 
class  Wikimedia\ObjectCache\MemcachedBagOStuff
 Store data in a memcached server or memcached cluster. More...
 
class  MemcachedClient
 memcached client class implemented using (p)fsockopen() More...
 
class  Wikimedia\ObjectCache\MemcachedPeclBagOStuff
 Store data on memcached server(s) via the php-memcached PECL extension. More...
 
class  Wikimedia\ObjectCache\MemcachedPhpBagOStuff
 Store data on memcached servers(s) via a pure-PHP memcached client. More...
 
class  Wikimedia\ObjectCache\MultiWriteBagOStuff
 Wrap multiple BagOStuff objects, to implement different caching tiers. More...
 
class  ObjectCache
 
class  ObjectCacheFactory
 Factory for cache objects as configured in the ObjectCaches setting. More...
 
class  MediaWiki\Parser\ParserCache
 Cache for ParserOutput objects corresponding to the latest page revisions. More...
 
class  Wikimedia\ObjectCache\RedisBagOStuff
 Store data in Redis. More...
 
class  Wikimedia\ObjectCache\RedisConnectionPool
 Manage one or more Redis client connection. More...
 
class  Wikimedia\ObjectCache\RedisConnRef
 Wrapper class for Redis connections that automatically reuses connections (via RAII pattern) More...
 
class  MediaWiki\Parser\RevisionOutputCache
 Cache for ParserOutput objects. More...
 
class  Wikimedia\ObjectCache\Serialized\SerializedValueContainer
 Helper class for segmenting large cache values without relying on serializing classes. More...
 
class  SqlBagOStuff
 RDBMS-based caching module. More...
 
interface  Wikimedia\LightweightObjectStore\StorageAwareness
 Generic interface providing error code and quality-of-service constants for object stores. More...
 
class  Wikimedia\ObjectCache\WANObjectCache
 Multi-datacenter aware caching interface. More...
 

Detailed Description

Most important classes are:

See also
ObjectCacheFactory
WANObjectCache
BagOStuff