MediaWiki  1.30.0
EnqueueableDataUpdate Interface Reference

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

Inheritance diagram for EnqueueableDataUpdate:

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

Since
1.27

Definition at line 10 of file EnqueueableDataUpdate.php.

Member Function Documentation

◆ getAsJobSpecification()

EnqueueableDataUpdate::getAsJobSpecification ( )
Returns
array (wiki => wiki ID, job => IJobSpecification)

Implemented in LinksUpdate, and LinksDeletionUpdate.


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