Introduce TransactionRoundAwareUpdate interface
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 21 May 2019 21:52:57 +0000 (14:52 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 25 May 2019 02:33:05 +0000 (02:33 +0000)
commitef949d79d2810bb0ed14fc64f6d997ec16097f57
tree3751473a4092c44f9ea2a816fedb3a303a2883cb
parent07a883388adb76bef1e760ea9d87db3c1f04ff74
Introduce TransactionRoundAwareUpdate interface

Refactor the deferred update transaction round handling code to use
a new TransactionRoundAwareUpdate interface. Also, rename a few
DeferredUpdates methods so they do not give the impression that
doUpdates() is always called.

Change-Id: Idc4c6d81c4e2ca0ce41bca1e7800f797fa7e37f6
autoload.php
includes/deferred/DeferredUpdates.php
includes/deferred/TransactionRoundAwareUpdate.php [new file with mode: 0644]
includes/deferred/TransactionRoundDefiningUpdate.php
tests/phpunit/includes/deferred/DeferredUpdatesTest.php