Elgg
Version master
|
Public Member Functions | |
enqueue ($item) | |
Add an item to the queue. More... | |
dequeue () | |
Remove an item from the queue. More... | |
clear () | |
Clear all items from the queue. More... | |
size () | |
Get the size of the queue. More... | |
Elgg\Queue\Queue::clear | ( | ) |
Clear all items from the queue.
Implemented in Elgg\Queue\DatabaseQueue, and Elgg\Queue\MemoryQueue.
Elgg\Queue\Queue::dequeue | ( | ) |
Remove an item from the queue.
Implemented in Elgg\Queue\DatabaseQueue, Elgg\Notifications\NotificationsQueue, and Elgg\Queue\MemoryQueue.
Elgg\Queue\Queue::enqueue | ( | $item | ) |
Add an item to the queue.
mixed | $item | Item to add to queue |
Implemented in Elgg\Queue\DatabaseQueue, and Elgg\Queue\MemoryQueue.
Elgg\Queue\Queue::size | ( | ) |
Get the size of the queue.
Implemented in Elgg\Queue\DatabaseQueue, and Elgg\Queue\MemoryQueue.