MediaWiki  REL1_24
IDBAccessObject.php
Go to the documentation of this file.
00001 <?php
00049 interface IDBAccessObject {
00050     // Constants for object loading bitfield flags (higher => higher QoS)
00051     const READ_LATEST = 1; // read from the master
00052     const READ_LOCKING = 3; // READ_LATEST (1) and "LOCK IN SHARE MODE" (2)
00053     const READ_EXCLUSIVE = 7; // READ_LOCKING (3) and "FOR UPDATE" (4)
00054 
00055     // Convenience constant for callers to explicitly request slave data
00056     const READ_NORMAL = 0; // read from the slave
00057 
00058     // Convenience constant for tracking how data was loaded (higher => higher QoS)
00059     const READ_NONE = -1; // not loaded yet (or the object was cleared)
00060 }