MediaWiki REL1_34
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 (domain => DB domain ID, job => IJobSpecification)

Implemented in LinksDeletionUpdate.

Referenced by DeferredUpdates\jobify().


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