You are here

class MemoryLimitDatabaseQueueFactory in Acquia Content Hub 8

A factory for a database queue that checks memory limitations.

Hierarchy

Expanded class hierarchy of MemoryLimitDatabaseQueueFactory

1 string reference to 'MemoryLimitDatabaseQueueFactory'
acquia_contenthub.services.yml in ./acquia_contenthub.services.yml
acquia_contenthub.services.yml
1 service uses MemoryLimitDatabaseQueueFactory
acquia_contenthub.queue.database.memory_limit in ./acquia_contenthub.services.yml
Drupal\acquia_contenthub\Queue\MemoryLimitDatabaseQueueFactory

File

src/Queue/MemoryLimitDatabaseQueueFactory.php, line 10

Namespace

Drupal\acquia_contenthub\Queue
View source
class MemoryLimitDatabaseQueueFactory extends QueueDatabaseFactory {

  /**
   * {@inheritdoc}
   */
  public function get($name) {
    return new MemoryLimitDatabaseQueue($name, $this->connection);
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MemoryLimitDatabaseQueueFactory::get public function Constructs a new queue object for a given name. Overrides QueueDatabaseFactory::get
QueueDatabaseFactory::$connection protected property The database connection.
QueueDatabaseFactory::__construct public function Constructs this factory object.