Go to the documentation of this file.
27 use InvalidArgumentException;
88 const DOMAIN_ANY =
'';
90 const GROUP_GENERIC =
'';
93 const CONN_TRX_AUTOCOMMIT = 1;
95 const CONN_SILENCE_ERRORS = 2;
97 const CONN_INTENT_WRITABLE = 4;
99 const CONN_REFRESH_READ_ONLY = 8;
102 const STAGE_POSTCOMMIT_CALLBACKS =
'stage-postcommit-callbacks';
104 const STAGE_POSTROLLBACK_CALLBACKS =
'stage-postrollback-callbacks';
186 public function getReaderIndex( $group =
false, $domain =
false );
200 public function waitFor( $pos );
211 public function waitForOne( $pos, $timeout =
null );
220 public function waitForAll( $pos, $timeout =
null );
297 public function getConnection( $i, $groups = [], $domain =
false, $flags = 0 );
347 public function getConnectionRef( $i, $groups = [], $domain =
false, $flags = 0 );
503 public function disable( $fname = __METHOD__, $owner =
null );
511 public function closeAll( $fname = __METHOD__, $owner =
null );
529 public function commitAll( $fname = __METHOD__, $owner =
null );
722 public function getMaxLag( $domain =
false );