MediaWiki REL1_37
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

Stability: stable
to implement
Since
1.27

Definition at line 12 of file EnqueueableDataUpdate.php.

Member Function Documentation

◆ getAsJobSpecification()

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

Implemented in LinksDeletionUpdate, and RefreshSecondaryDataUpdate.

Referenced by DeferredUpdates\jobify(), and DeferredUpdates\tryOpportunisticExecute().


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