MediaWiki REL1_32
IDBAccessObject.php
Go to the documentation of this file.
1<?php
55interface IDBAccessObject {
58 const READ_NORMAL = 0;
60 const READ_LATEST = 1;
61 /* @var int Read from the master/quorum and lock out other writers */
62 const READ_LOCKING = self::READ_LATEST | 2; // READ_LATEST (1) and "LOCK IN SHARE MODE" (2)
64 const READ_EXCLUSIVE = self::READ_LOCKING | 4; // READ_LOCKING (3) and "FOR UPDATE" (4)
65
67 const READ_LATEST_IMMUTABLE = 8;
68
69 // Convenience constant for tracking how data was loaded (higher => higher QoS)
70 const READ_NONE = -1; // not loaded yet (or the object was cleared)
71}
Interface for database access objects.
const READ_LOCKING
Constants for object loading bitfield flags (higher => higher QoS)