Wikibase
MediaWiki Wikibase extension
Wikibase\Lib\Rdbms\ReplicationWaiter Class Reference

Public Member Functions

 __construct (ILBFactory $lbFactory, string $domainId)
 
 wait (?int $timeout=null)
 
 waitForAllAffectedClusters (?int $timeout=null)
 
 getMaxLag ()
 

Private Attributes

 $lbFactory
 
 $domainId
 

Detailed Description

Author
Addshore

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Lib\Rdbms\ReplicationWaiter::__construct ( ILBFactory  $lbFactory,
string  $domainId 
)

Member Function Documentation

◆ getMaxLag()

Wikibase\Lib\Rdbms\ReplicationWaiter::getMaxLag ( )

◆ wait()

Wikibase\Lib\Rdbms\ReplicationWaiter::wait ( ?int  $timeout = null)

◆ waitForAllAffectedClusters()

Wikibase\Lib\Rdbms\ReplicationWaiter::waitForAllAffectedClusters ( ?int  $timeout = null)

Member Data Documentation

◆ $domainId

Wikibase\Lib\Rdbms\ReplicationWaiter::$domainId
private

◆ $lbFactory

Wikibase\Lib\Rdbms\ReplicationWaiter::$lbFactory
private

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