MediaWiki
REL1_20
|
Class for ensuring a consistent ordering of events as seen by the user, despite replication. More...
Public Member Functions | |
initLB ($lb) | |
Initialise a LoadBalancer to give it appropriate chronology protection. | |
shutdown () | |
Notify the ChronologyProtector that the LBFactory is done calling shutdownLB() for now. | |
shutdownLB ($lb) | |
Notify the ChronologyProtector that the LoadBalancer is about to shut down. | |
Public Attributes | |
$shutdownPos = array() | |
$startupPos |
Class for ensuring a consistent ordering of events as seen by the user, despite replication.
Kind of like Hawking's [[Chronology Protection Agency]].
Definition at line 324 of file LBFactory.php.
ChronologyProtector::initLB | ( | $ | lb | ) |
Initialise a LoadBalancer to give it appropriate chronology protection.
$lb | LoadBalancer |
Definition at line 333 of file LBFactory.php.
Notify the ChronologyProtector that the LBFactory is done calling shutdownLB() for now.
May commit chronology data to persistent storage.
Definition at line 384 of file LBFactory.php.
ChronologyProtector::shutdownLB | ( | $ | lb | ) |
Notify the ChronologyProtector that the LoadBalancer is about to shut down.
Saves replication positions.
$lb | LoadBalancer |
Definition at line 358 of file LBFactory.php.
ChronologyProtector::$shutdownPos = array() |
Definition at line 326 of file LBFactory.php.
ChronologyProtector::$startupPos |
Definition at line 325 of file LBFactory.php.