31 if ( !isset(
$params[
'mainqueue'] ) ) {
32 throw new MWException(
"mainqueue parameter must be provided to the debug queue" );
35 if ( !isset(
$params[
'debugqueue'] ) ) {
36 throw new MWException(
"debugqueue parameter must be provided to the debug queue" );
54 return $this->mainQueue->supportedOrders();
63 return $this->mainQueue->optimalOrder();
72 return $this->mainQueue->supportsDelayedJobs();
80 return $this->mainQueue->doIsEmpty();
88 return $this->mainQueue->doGetSize();
96 return $this->mainQueue->doGetAcquiredCount();
104 return $this->mainQueue->doGetDelayedCount();
112 return $this->mainQueue->doGetAbandonedCount();
121 $this->mainQueue->doBatchPush( $jobs,
$flags );
124 $this->debugQueue->doBatchPush( $jobs,
$flags );
125 }
catch ( Exception $exception ) {
135 return $this->mainQueue->doPop();
144 return $this->mainQueue->doAck(
$job );
154 return $this->mainQueue->doDeduplicateRootJob(
$job );
163 return $this->mainQueue->doIsRootJobOldDuplicate(
$job );
171 return $this->mainQueue->getRootJobCacheKey( $signature );
180 return $this->mainQueue->doDelete();
188 $this->mainQueue->doWaitForBackups();
196 $this->mainQueue->doFlushCaches();
208 return $this->mainQueue->getAllQueuedJobs();
220 return $this->mainQueue->getAllDelayedJobs();
234 return $this->mainQueue->getAllAcquiredJobs();
245 return $this->mainQueue->getAllAbandonedJobs();
255 return $this->mainQueue->getCoalesceLocationInternal();
264 return $this->mainQueue->doGetSiblingQueuesWithJobs( $types );
273 return $this->mainQueue->doGetSiblingQueueSizes( $types );
280 $this->mainQueue->assertNotReadOnly();