MediaWiki master
MediaWiki\Deferred\TransactionRoundAwareUpdate Interface Reference

Deferrable update that specifies whether it must run outside of any explicit LBFactory transaction round or must run inside of a round owned by doUpdate(). More...

Inherited by MediaWiki\Deferred\MWCallableUpdate, MediaWiki\Deferred\TransactionRoundDefiningUpdate, and RefreshSecondaryDataUpdate.

Public Member Functions

 getTransactionRoundRequirement ()
 

Detailed Description

Deferrable update that specifies whether it must run outside of any explicit LBFactory transaction round or must run inside of a round owned by doUpdate().

Stability: stable
to implement
Since
1.34

Definition at line 13 of file TransactionRoundAwareUpdate.php.

Member Function Documentation

◆ getTransactionRoundRequirement()

MediaWiki\Deferred\TransactionRoundAwareUpdate::getTransactionRoundRequirement ( )
Returns
int One of the class TRX_ROUND_* constants

Implemented in MediaWiki\Deferred\MWCallableUpdate, RefreshSecondaryDataUpdate, and MediaWiki\Deferred\TransactionRoundDefiningUpdate.


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