QueueInterface¶
QueueInterface is DALMP interface to be use with the DALMP\Queue class.
The common methods are:
Method | Description |
---|---|
enqueue($key) | Adds an element to the queue. |
dequeue($limit = false) | Dequeues an element from the queue. |
delete($key) | Delete an element from the queue. |
X() | Return the queue object. |
All the queue backends must implement this interface in order to properly work with DALMP.
__construct¶
The construct for each queue backend maybe be different and it is used for defining specific options like the host, port, path etc,
See also
A great amount of time has been spent creating, crafting and maintaining this software, please consider donating.
Donating helps ensure continued support, development and availability.
comments powered by Disqus