aboutsummaryrefslogtreecommitdiffstats
path: root/includes/libs/objectcache
diff options
context:
space:
mode:
authorTimo Tijhof <krinkle@fastmail.com>2024-09-15 14:41:01 -0700
committerTimo Tijhof <krinkle@fastmail.com>2024-09-15 14:43:53 -0700
commite5a3e36bd1550a2669bbbd118d762f25b2fd73a6 (patch)
treeb3b5469f56f03e72a164560d797e17810251391b /includes/libs/objectcache
parentf632039f0364a134f9b9bcd5c181a75b3dd64a56 (diff)
downloadmediawikicore-e5a3e36bd1550a2669bbbd118d762f25b2fd73a6.tar.gz
mediawikicore-e5a3e36bd1550a2669bbbd118d762f25b2fd73a6.zip
objectcache: Tag StorageAwareness as `@internal`
Only has 1 use outside libs/objectcache, recently introduced in the ApiFeatureUsage extension, fixed in Ied085eb5. The uses of it already documented against BagOStuff, e.g. getLastError() returns a BagOStuff::ERR_ constant, not StorageAwareness. To simplify the API and reduce clutter and improve cohesion, move this gradually back in. Change-Id: I836735b1fec8dfdcb82804cd5a698047d6a6a7c7
Diffstat (limited to 'includes/libs/objectcache')
-rw-r--r--includes/libs/objectcache/utils/StorageAwareness.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/libs/objectcache/utils/StorageAwareness.php b/includes/libs/objectcache/utils/StorageAwareness.php
index b9ca12665f12..1c42e90b77c8 100644
--- a/includes/libs/objectcache/utils/StorageAwareness.php
+++ b/includes/libs/objectcache/utils/StorageAwareness.php
@@ -23,8 +23,8 @@ namespace Wikimedia\LightweightObjectStore;
/**
* Generic interface providing error code and quality-of-service constants for object stores
*
+ * @internal For use by BagOStuff and WANObjectCache
* @ingroup Cache
- * @since 1.35
*/
interface StorageAwareness {
/** No storage medium error */