MediaWiki  1.27.4
DBMasterPos Interface Reference

An object representing a master or slave position in a replicated setup. More...

Inheritance diagram for DBMasterPos:

Public Member Functions

 __toString ()
 
 asOfTime ()
 
 channelsMatch (DBMasterPos $pos)
 
 hasReached (DBMasterPos $pos)
 

Detailed Description

An object representing a master or slave position in a replicated setup.

The implementation details of this opaque type are up to the database subclass.

Definition at line 321 of file DatabaseUtility.php.

Member Function Documentation

DBMasterPos::__toString ( )
Returns
string
Since
1.27

Implemented in MySQLMasterPos.

DBMasterPos::asOfTime ( )
Returns
float UNIX timestamp
Since
1.25

Implemented in MySQLMasterPos.

DBMasterPos::channelsMatch ( DBMasterPos  $pos)
Parameters
DBMasterPos$pos
Returns
bool Whether this position appears to be for the same channel as another
Since
1.27

Implemented in MySQLMasterPos.

DBMasterPos::hasReached ( DBMasterPos  $pos)
Parameters
DBMasterPos$pos
Returns
bool Whether this position is at or higher than $pos
Since
1.27

Implemented in MySQLMasterPos.


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