class MemoryLimitDatabaseQueueFactory in Acquia Content Hub 8
A factory for a database queue that checks memory limitations.
Hierarchy
- class \Drupal\Core\Queue\QueueDatabaseFactory
- class \Drupal\acquia_contenthub\Queue\MemoryLimitDatabaseQueueFactory
Expanded class hierarchy of MemoryLimitDatabaseQueueFactory
1 string reference to 'MemoryLimitDatabaseQueueFactory'
1 service uses MemoryLimitDatabaseQueueFactory
File
- src/
Queue/ MemoryLimitDatabaseQueueFactory.php, line 10
Namespace
Drupal\acquia_contenthub\QueueView source
class MemoryLimitDatabaseQueueFactory extends QueueDatabaseFactory {
/**
* {@inheritdoc}
*/
public function get($name) {
return new MemoryLimitDatabaseQueue($name, $this->connection);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MemoryLimitDatabaseQueueFactory:: |
public | function |
Constructs a new queue object for a given name. Overrides QueueDatabaseFactory:: |
|
QueueDatabaseFactory:: |
protected | property | The database connection. | |
QueueDatabaseFactory:: |
public | function | Constructs this factory object. |