You are here

public function AcquiaPurgeQueueEfficient::bad in Acquia Purge 7

Retrieve the failed purges counter.

Return value

AcquiaPurgeStateCounterInterface The counter.

Overrides AcquiaPurgeQueueInterface::bad

File

lib/queue/AcquiaPurgeQueueEfficient.php, line 51
Contains EfficientQueue.

Class

AcquiaPurgeQueueEfficient
Efficient query bundling database queue.

Code

public function bad() {
  return $this->state
    ->getCounter('qbad');
}