MediaWiki  1.33.0
IExpiringStore Interface Reference

Generic interface for lightweight expiring object stores. More...

Inheritance diagram for IExpiringStore:

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
 

Detailed Description

Generic interface for lightweight expiring object stores.

Provides convenient TTL constants.

Since
1.27

Definition at line 31 of file IExpiringStore.php.

Member Data Documentation

◆ ATTR_EMULATION

const IExpiringStore::ATTR_EMULATION = 1

◆ ATTR_SYNCWRITES

const IExpiringStore::ATTR_SYNCWRITES = 2

◆ ERR_NO_RESPONSE

const IExpiringStore::ERR_NO_RESPONSE = 1

Definition at line 64 of file IExpiringStore.php.

Referenced by WANObjectCache\getLastError().

◆ ERR_NONE

◆ ERR_UNEXPECTED

◆ ERR_UNREACHABLE

const IExpiringStore::ERR_UNREACHABLE = 2

◆ QOS_EMULATION_SQL

const IExpiringStore::QOS_EMULATION_SQL = 1

◆ QOS_SYNCWRITES_BE

const IExpiringStore::QOS_SYNCWRITES_BE = 2

Definition at line 56 of file IExpiringStore.php.

Referenced by MemcachedBagOStuff\__construct(), and SqlBagOStuff\__construct().

◆ QOS_SYNCWRITES_NONE

const IExpiringStore::QOS_SYNCWRITES_NONE = 1

Definition at line 55 of file IExpiringStore.php.

Referenced by RedisBagOStuff\__construct(), and SqlBagOStuff\__construct().

◆ QOS_SYNCWRITES_QC

const IExpiringStore::QOS_SYNCWRITES_QC = 3

Definition at line 57 of file IExpiringStore.php.

Referenced by RESTBagOStuff\__construct().

◆ QOS_SYNCWRITES_SS

const IExpiringStore::QOS_SYNCWRITES_SS = 4

Definition at line 58 of file IExpiringStore.php.

◆ QOS_UNKNOWN

const IExpiringStore::QOS_UNKNOWN = INF

Definition at line 61 of file IExpiringStore.php.

Referenced by BagOStuff\getQoS(), and WANObjectCacheTest\testGetQoS().

◆ TTL_DAY

const IExpiringStore::TTL_DAY = 86400

Definition at line 36 of file IExpiringStore.php.

Referenced by Wikimedia\Rdbms\LoadBalancer\doWait(), and Article\view().

◆ TTL_HOUR

const IExpiringStore::TTL_HOUR = 3600

Definition at line 35 of file IExpiringStore.php.

Referenced by WatchedItemStore\resetNotificationTimestamp().

◆ TTL_INDEFINITE

const IExpiringStore::TTL_INDEFINITE = 0

◆ TTL_MINUTE

◆ TTL_MONTH

const IExpiringStore::TTL_MONTH = 2592000

Definition at line 38 of file IExpiringStore.php.

Referenced by MediaWiki\Storage\NameTableStore\__construct().

◆ TTL_PROC_LONG

◆ TTL_PROC_SHORT

const IExpiringStore::TTL_PROC_SHORT = 3

◆ TTL_SECOND

const IExpiringStore::TTL_SECOND = 1

Definition at line 33 of file IExpiringStore.php.

Referenced by WANObjectCache\set().

◆ TTL_WEEK

const IExpiringStore::TTL_WEEK = 604800

◆ TTL_YEAR

const IExpiringStore::TTL_YEAR = 31536000

Definition at line 39 of file IExpiringStore.php.


The documentation for this interface was generated from the following file: