Improved getMainStashInstance() docs

Change-Id: I49e5c112478927387244214917fb06907c22186f
This commit is contained in:
Aaron Schulz 2015-08-28 16:24:13 -07:00
parent e2bb9ba3d4
commit 2cdcea5c9e

View file

@ -59,10 +59,11 @@ use MediaWiki\Logger\LoggerFactory;
* Delete events are broadcasted to other DCs. See WANObjectCache for details.
*
* - ObjectCache::getMainStashInstance()
* Purpose: Storage.
* Purpose: Ephemeral storage.
* Stored centrally within the local data-center.
* Changes are replicated to other DCs (eventually consistent).
* To retrieve the latest value (e.g. not from a slave), use BagOStuff:READ_LATEST.
* This store may be subject to LRU style evictions.
*
* - wfGetCache( $cacheType )
* Get a specific cache type by key in $wgObjectCaches.