You are here

public function AcquiaPurgeQueueEfficient::__construct in Acquia Purge 7

Construct a AcquiaPurgeQueueEfficient instance.

Parameters

AcquiaPurgeStateStorageInterface $state: The state storage required for the queue counters.

Overrides SystemQueue::__construct

1 call to AcquiaPurgeQueueEfficient::__construct()
AcquiaPurgeQueueSmart::__construct in lib/queue/AcquiaPurgeQueueSmart.php
Construct a AcquiaPurgeQueueSmart instance.
1 method overrides AcquiaPurgeQueueEfficient::__construct()
AcquiaPurgeQueueSmart::__construct in lib/queue/AcquiaPurgeQueueSmart.php
Construct a AcquiaPurgeQueueSmart instance.

File

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

Class

AcquiaPurgeQueueEfficient
Efficient query bundling database queue.

Code

public function __construct(AcquiaPurgeStateStorageInterface $state) {
  $this->state = $state;
  $this->class_queue_item = _acquia_purge_load(array(
    '_acquia_purge_queue_item_interface',
    '_acquia_purge_queue_item',
  ));
  parent::__construct('acquia_purge');
}