MediaWiki 1.39.10
|
An object representing a primary or replica DB position in a replicated setup. More...
Public Member Functions | |
__toString () | |
asOfTime () | |
channelsMatch (DBPrimaryPos $pos) | |
hasReached (DBPrimaryPos $pos) | |
toArray () | |
Serialization for storage. | |
Static Public Member Functions | |
static | newFromArray (array $data) |
Deserialization from storage. | |
An object representing a primary or replica DB position in a replicated setup.
The implementation details of this opaque type are up to the database subclass.
Definition at line 15 of file DBPrimaryPos.php.
Wikimedia\Rdbms\DBPrimaryPos::__toString | ( | ) |
Implemented in Wikimedia\Rdbms\MySQLPrimaryPos.
Referenced by Wikimedia\Rdbms\DatabaseMysqlBase\primaryPosWait().
Wikimedia\Rdbms\DBPrimaryPos::asOfTime | ( | ) |
Wikimedia\Rdbms\DBPrimaryPos::channelsMatch | ( | DBPrimaryPos | $pos | ) |
DBPrimaryPos | $pos |
Implemented in Wikimedia\Rdbms\MySQLPrimaryPos.
Wikimedia\Rdbms\DBPrimaryPos::hasReached | ( | DBPrimaryPos | $pos | ) |
DBPrimaryPos | $pos |
Implemented in Wikimedia\Rdbms\MySQLPrimaryPos.
|
static |
Deserialization from storage.
array | $data | Representation as returned from ::toArray() |
Implemented in Wikimedia\Rdbms\MySQLPrimaryPos.
Wikimedia\Rdbms\DBPrimaryPos::toArray | ( | ) |
Serialization for storage.
Implemented in Wikimedia\Rdbms\MySQLPrimaryPos.