4 * Deferrable update that specifies whether it must run outside of any explicit
5 * LBFactory transaction round or must run inside of a round owned by doUpdate().
9 interface TransactionRoundAwareUpdate
{
10 /** @var int No transaction round should be used */
11 const TRX_ROUND_ABSENT
= 1;
12 /** @var int A transaction round owned by self::doUpdate should be used */
13 const TRX_ROUND_PRESENT
= 2;
16 * @return int One of the class TRX_ROUND_* constants
18 public function getTransactionRoundRequirement();