MediaWiki  1.32.5
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. More...
 
 getOrigin ()
 

Private Attributes

callable null $callback
 
string $fname
 

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 18 of file TransactionRoundDefiningUpdate.php.

References $callback, and $fname.

Member Function Documentation

◆ doUpdate()

TransactionRoundDefiningUpdate::doUpdate ( )

Perform the actual work.

Implements DeferrableUpdate.

Definition at line 23 of file TransactionRoundDefiningUpdate.php.

◆ getOrigin()

TransactionRoundDefiningUpdate::getOrigin ( )
Returns
string Originating method name

Implements DeferrableCallback.

Definition at line 27 of file TransactionRoundDefiningUpdate.php.

References $fname.

Member Data Documentation

◆ $callback

callable null TransactionRoundDefiningUpdate::$callback
private

Definition at line 10 of file TransactionRoundDefiningUpdate.php.

Referenced by __construct().

◆ $fname

string TransactionRoundDefiningUpdate::$fname
private

Definition at line 12 of file TransactionRoundDefiningUpdate.php.

Referenced by __construct(), and getOrigin().


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