3 * An object representing a master or replica DB position in a replicated setup.
5 * The implementation details of this opaque type are up to the database subclass.
7 interface DBMasterPos
{
9 * @return float UNIX timestamp
12 public function asOfTime();
15 * @param DBMasterPos $pos
16 * @return bool Whether this position is at or higher than $pos
19 public function hasReached( DBMasterPos
$pos );
22 * @param DBMasterPos $pos
23 * @return bool Whether this position appears to be for the same channel as another
26 public function channelsMatch( DBMasterPos
$pos );
32 public function __toString();