CRM_Queue_Service
class CRM_Queue_Service
The queue service provides an interface for creating or locating queues. Note that this approach hides the details of data-storage: different queue-providers may store the queue content in different ways (in memory, in SQL, or in an external service).
Properties
static protected | $_singleton | ||
array | $queues | Queues. |
Methods
FIXME: Singleton pattern should be removed when dependency-injection becomes available.
Class constructor.
Create a queue. If one already exists, then it will be reused.
Look up an existing queue.
Convert a queue "type" name to a class name.
No description
Details
at line 65
static CRM_Queue_Service
singleton(bool $forceNew = FALSE)
FIXME: Singleton pattern should be removed when dependency-injection becomes available.
at line 84
__construct()
Class constructor.
at line 102
CRM_Queue_Queue
create(array $queueSpec)
Create a queue. If one already exists, then it will be reused.
at line 135
CRM_Queue_Queue
load(array $queueSpec)
Look up an existing queue.
at line 154
protected string
getQueueClass(string $type)
Convert a queue "type" name to a class name.