MediaWiki master
RefreshSecondaryDataUpdate Class Reference

Update object handling the cleanup of secondary data after a page was edited. More...

Inherits DataUpdate, TransactionRoundAwareUpdate, and EnqueueableDataUpdate.

Collaboration diagram for RefreshSecondaryDataUpdate:

Public Member Functions

 __construct (ILBFactory $lbFactory, UserIdentity $user, WikiPage $page, RevisionRecord $revisionRecord, DerivedPageDataUpdater $updater, array $options)
 doUpdate ()
 getAsJobSpecification ()
 getTransactionRoundRequirement ()

Detailed Description

Update object handling the cleanup of secondary data after a page was edited.

This makes it possible for DeferredUpdates to have retry logic using a single refreshLinks job if any of the bundled updates fail.


Definition at line 37 of file RefreshSecondaryDataUpdate.php.

Constructor & Destructor Documentation

◆ __construct()

RefreshSecondaryDataUpdate::__construct ( ILBFactory  $lbFactory,
UserIdentity  $user,
WikiPage  $page,
RevisionRecord  $revisionRecord,
DerivedPageDataUpdater  $updater,
array  $options 
WikiPage$pagePage we are updating
array$optionsOptions map; supports "recursive"

Definition at line 62 of file RefreshSecondaryDataUpdate.php.

Member Function Documentation

◆ doUpdate()

RefreshSecondaryDataUpdate::doUpdate ( )

Definition at line 84 of file RefreshSecondaryDataUpdate.php.

◆ getAsJobSpecification()

RefreshSecondaryDataUpdate::getAsJobSpecification ( )

Definition at line 115 of file RefreshSecondaryDataUpdate.php.

References true.

◆ getTransactionRoundRequirement()

RefreshSecondaryDataUpdate::getTransactionRoundRequirement ( )

Definition at line 80 of file RefreshSecondaryDataUpdate.php.

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