Improved getMainStashInstance() docs
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Aug 2015 23:24:13 +0000 (16:24 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 28 Aug 2015 23:24:13 +0000 (16:24 -0700)
Change-Id: I49e5c112478927387244214917fb06907c22186f

includes/objectcache/ObjectCache.php

index 069cd95..6019105 100644 (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.