MediaWiki
1.33.0
|
Generic interface for lightweight expiring object stores. More...
Public Attributes | |
const | ATTR_EMULATION = 1 |
const | ATTR_SYNCWRITES = 2 |
const | ERR_NO_RESPONSE = 1 |
const | ERR_NONE = 0 |
const | ERR_UNEXPECTED = 3 |
const | ERR_UNREACHABLE = 2 |
const | QOS_EMULATION_SQL = 1 |
const | QOS_SYNCWRITES_BE = 2 |
const | QOS_SYNCWRITES_NONE = 1 |
const | QOS_SYNCWRITES_QC = 3 |
const | QOS_SYNCWRITES_SS = 4 |
const | QOS_UNKNOWN = INF |
const | TTL_DAY = 86400 |
const | TTL_HOUR = 3600 |
const | TTL_INDEFINITE = 0 |
const | TTL_MINUTE = 60 |
const | TTL_MONTH = 2592000 |
const | TTL_PROC_LONG = 30 |
const | TTL_PROC_SHORT = 3 |
const | TTL_SECOND = 1 |
const | TTL_WEEK = 604800 |
const | TTL_YEAR = 31536000 |
Generic interface for lightweight expiring object stores.
Provides convenient TTL constants.
Definition at line 31 of file IExpiringStore.php.
const IExpiringStore::ATTR_EMULATION = 1 |
Definition at line 48 of file IExpiringStore.php.
Referenced by SqlBagOStuff\__construct(), and MediaWiki\Storage\SqlBlobStore\getCacheTTL().
const IExpiringStore::ATTR_SYNCWRITES = 2 |
Definition at line 53 of file IExpiringStore.php.
Referenced by MemcachedBagOStuff\__construct(), RESTBagOStuff\__construct(), RedisBagOStuff\__construct(), and SqlBagOStuff\__construct().
const IExpiringStore::ERR_NO_RESPONSE = 1 |
Definition at line 64 of file IExpiringStore.php.
Referenced by WANObjectCache\getLastError().
const IExpiringStore::ERR_NONE = 0 |
Definition at line 63 of file IExpiringStore.php.
Referenced by WANObjectCache\checkAndSetCooloff(), BagOStuff\clearLastError(), ReplicatedBagOStuff\getLastError(), and WANObjectCache\getLastError().
const IExpiringStore::ERR_UNEXPECTED = 3 |
Definition at line 66 of file IExpiringStore.php.
Referenced by MemcachedPeclBagOStuff\checkResult(), WANObjectCache\getLastError(), RedisBagOStuff\handleException(), SqlBagOStuff\setAndLogDBError(), and RESTBagOStuffTest\testGetBadServer().
const IExpiringStore::ERR_UNREACHABLE = 2 |
Definition at line 65 of file IExpiringStore.php.
Referenced by RedisBagOStuff\getConnection(), WANObjectCache\getLastError(), SqlBagOStuff\setAndLogDBError(), and RESTBagOStuffTest\testGetBadClient().
const IExpiringStore::QOS_EMULATION_SQL = 1 |
Definition at line 50 of file IExpiringStore.php.
Referenced by SqlBagOStuff\__construct(), and MediaWiki\Storage\SqlBlobStore\getCacheTTL().
const IExpiringStore::QOS_SYNCWRITES_BE = 2 |
Definition at line 56 of file IExpiringStore.php.
Referenced by MemcachedBagOStuff\__construct(), and SqlBagOStuff\__construct().
const IExpiringStore::QOS_SYNCWRITES_NONE = 1 |
Definition at line 55 of file IExpiringStore.php.
Referenced by RedisBagOStuff\__construct(), and SqlBagOStuff\__construct().
const IExpiringStore::QOS_SYNCWRITES_QC = 3 |
Definition at line 57 of file IExpiringStore.php.
Referenced by RESTBagOStuff\__construct().
const IExpiringStore::QOS_SYNCWRITES_SS = 4 |
Definition at line 58 of file IExpiringStore.php.
const IExpiringStore::QOS_UNKNOWN = INF |
Definition at line 61 of file IExpiringStore.php.
Referenced by BagOStuff\getQoS(), and WANObjectCacheTest\testGetQoS().
const IExpiringStore::TTL_DAY = 86400 |
Definition at line 36 of file IExpiringStore.php.
Referenced by Wikimedia\Rdbms\LoadBalancer\doWait(), and Article\view().
const IExpiringStore::TTL_HOUR = 3600 |
Definition at line 35 of file IExpiringStore.php.
Referenced by WatchedItemStore\resetNotificationTimestamp().
const IExpiringStore::TTL_INDEFINITE = 0 |
Definition at line 45 of file IExpiringStore.php.
Referenced by WANObjectCacheReaper\invoke(), EtcdConfig\load(), and MessageCache\setValidationHash().
const IExpiringStore::TTL_MINUTE = 60 |
Definition at line 34 of file IExpiringStore.php.
Referenced by MessageCache\getValidationHash(), ChangeTags\listExplicitlyDefinedTags(), ChangeTags\listSoftwareActivatedTags(), ChangeTags\listSoftwareDefinedTags(), MessageCache\loadCachedMessagePageEntry(), and CategoryPage\view().
const IExpiringStore::TTL_MONTH = 2592000 |
Definition at line 38 of file IExpiringStore.php.
Referenced by MediaWiki\Storage\NameTableStore\__construct().
const IExpiringStore::TTL_PROC_LONG = 30 |
Definition at line 43 of file IExpiringStore.php.
Referenced by LocalRepo\checkRedirect(), MediaWiki\Storage\SqlBlobStore\expandBlob(), MediaWiki\Storage\SqlBlobStore\getBlob(), JobQueueGroup\getCachedConfigVar(), WatchedItemStore\getPageSeenTimestamps(), ForeignAPIRepo\httpGetCached(), ChangeTags\listExplicitlyDefinedTags(), ChangeTags\listSoftwareActivatedTags(), ChangeTags\listSoftwareDefinedTags(), and WatchedItemStore\resetNotificationTimestamp().
const IExpiringStore::TTL_PROC_SHORT = 3 |
Definition at line 42 of file IExpiringStore.php.
Referenced by GadgetDefinitionNamespaceRepo\getGadget(), and GadgetDefinitionNamespaceRepo\getGadgetIds().
const IExpiringStore::TTL_SECOND = 1 |
Definition at line 33 of file IExpiringStore.php.
Referenced by WANObjectCache\set().
const IExpiringStore::TTL_WEEK = 604800 |
Definition at line 37 of file IExpiringStore.php.
Referenced by Revision\RevisionStore\getKnownCurrentRevision(), and InfoAction\pageCounts().
const IExpiringStore::TTL_YEAR = 31536000 |
Definition at line 39 of file IExpiringStore.php.