MediaWiki master
MediaWiki\Deferred\EnqueueableDataUpdate Interface Reference

Interface that marks a DataUpdate as enqueuable via the JobQueue. More...

Inherited by MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate, and RefreshSecondaryDataUpdate.

Public Member Functions

 getAsJobSpecification ()
 

Detailed Description

Interface that marks a DataUpdate as enqueuable via the JobQueue.

Such updates must be representable using IJobSpecification, so that they can be serialized into jobs and enqueued for later execution

Stability: stable
to implement
Since
1.27

Definition at line 15 of file EnqueueableDataUpdate.php.

Member Function Documentation

◆ getAsJobSpecification()

MediaWiki\Deferred\EnqueueableDataUpdate::getAsJobSpecification ( )
Returns
array (domain => DB domain ID, job => IJobSpecification)

Implemented in MediaWiki\Deferred\LinksUpdate\LinksDeletionUpdate, and RefreshSecondaryDataUpdate.


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