MediaWiki REL1_39
TransactionRoundDefiningUpdate Class Reference

Deferrable update that must run outside of any explicit LBFactory transaction round. More...

Inheritance diagram for TransactionRoundDefiningUpdate:
Collaboration diagram for TransactionRoundDefiningUpdate:

Public Member Functions

 __construct (callable $callback, $fname='unknown')
 
 doUpdate ()
 Perform the actual work.
 
 getOrigin ()
 
 getTransactionRoundRequirement ()
 

Detailed Description

Deferrable update that must run outside of any explicit LBFactory transaction round.

Since
1.31

Definition at line 8 of file TransactionRoundDefiningUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

TransactionRoundDefiningUpdate::__construct ( callable $callback,
$fname = 'unknown' )
Parameters
callable$callback
string$fnameCalling method

Definition at line 20 of file TransactionRoundDefiningUpdate.php.

Member Function Documentation

◆ doUpdate()

TransactionRoundDefiningUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 25 of file TransactionRoundDefiningUpdate.php.

◆ getOrigin()

TransactionRoundDefiningUpdate::getOrigin ( )
Returns
string Originating method name

Implements DeferrableCallback.

Definition at line 29 of file TransactionRoundDefiningUpdate.php.

◆ getTransactionRoundRequirement()

TransactionRoundDefiningUpdate::getTransactionRoundRequirement ( )
final
Returns
int One of the class TRX_ROUND_* constants
Since
1.34

Implements TransactionRoundAwareUpdate.

Definition at line 37 of file TransactionRoundDefiningUpdate.php.


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