From: Aaron Schulz Date: Fri, 28 Aug 2015 23:24:13 +0000 (-0700) Subject: Improved getMainStashInstance() docs X-Git-Tag: 1.31.0-rc.0~10218^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=2cdcea5c9e24be74f351e4365fd02cea75d81896;p=lhc%2Fweb%2Fwiklou.git Improved getMainStashInstance() docs Change-Id: I49e5c112478927387244214917fb06907c22186f --- diff --git a/includes/objectcache/ObjectCache.php b/includes/objectcache/ObjectCache.php index 069cd950a9..601910578f 100644 --- a/includes/objectcache/ObjectCache.php +++ b/includes/objectcache/ObjectCache.php @@ -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.