Move remaining LoadBalancer classes to Rdbms
[mediawiki.git] / includes / deferred / EnqueueableDataUpdate.php
blobffeb740d41c904ce51e0aeebd88c6149e47c687f
1 <?php
2 /**
3 * Interface that marks a DataUpdate as enqueuable via the JobQueue
5 * Such updates must be representable using IJobSpecification, so that
6 * they can be serialized into jobs and enqueued for later execution
8 * @since 1.27
9 */
10 interface EnqueueableDataUpdate {
11 /**
12 * @return array (wiki => wiki ID, job => IJobSpecification)
14 public function getAsJobSpecification();