pyrax
Python Bindings for the Rackspace Cloud
|
Manager class for a Queue. More...
Public Member Functions | |
def | get |
Need to customize, since Queues are not returned with normal response bodies. | |
def | create |
def | get_stats |
Returns the message stats for the specified queue. | |
def | get_metadata |
Returns the metadata for the specified queue. | |
def | set_metadata |
Accepts a dictionary and adds that to the specified queue's metadata. |
Manager class for a Queue.
def create | ( | self, | |
name | |||
) |
def get | ( | self, | |
id_ | |||
) |
Need to customize, since Queues are not returned with normal response bodies.
Reimplemented from BaseManager.
def get_metadata | ( | self, | |
queue | |||
) |
Returns the metadata for the specified queue.
def get_stats | ( | self, | |
queue | |||
) |
Returns the message stats for the specified queue.
def set_metadata | ( | self, | |
queue, | |||
metadata, | |||
clear = False |
|||
) |
Accepts a dictionary and adds that to the specified queue's metadata.
If the 'clear' argument is passed as True, any existing metadata is replaced with the new metadata.