MediaWiki REL1_39
DBPrimaryPos.php
Go to the documentation of this file.
1<?php
2
3namespace Wikimedia\Rdbms;
4
5use Serializable;
6
15interface DBPrimaryPos extends Serializable {
20 public function asOfTime();
21
27 public function hasReached( DBPrimaryPos $pos );
28
34 public function channelsMatch( DBPrimaryPos $pos );
35
40 public function __toString();
41
49 public static function newFromArray( array $data );
50
57 public function toArray(): array;
58
59}
An object representing a primary or replica DB position in a replicated setup.
channelsMatch(DBPrimaryPos $pos)
static newFromArray(array $data)
Deserialization from storage.
hasReached(DBPrimaryPos $pos)
toArray()
Serialization for storage.