Service QueueUtils
from queue-utils import QueueUtils
| Port Name | Location | Protocol | Interfaces |
|---|---|---|---|
| ip | local | QueueUtilsInterface |
List of Available Interfaces
QueueUtilsInterface
| Operation Name | Input Type | Output Type | Faults | Description |
|---|---|---|---|---|
| delete_queue | string | bool | - | Removes an existing queue |
| new_queue | string | bool | - | Creates a new queue with queue_name as key |
| peek | string | undefined | - | Retrieves, but does not remove, the head of the queue |
| poll | string | undefined | - | Removes and returns the head of the queue |
| push | QueueRequest | bool | - | Pushes an element at the end of an existing queue |
| size | string | int | - | Returns the size of an existing queue, null otherwise |