pyrax
Python Bindings for the Rackspace Cloud
 All Classes Namespaces Files Functions Variables Properties
Public Member Functions
QueueManager Class Reference

Manager class for a Queue. More...

Inheritance diagram for QueueManager:
BaseQueueManager BaseManager

List of all members.

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.

Detailed Description

Manager class for a Queue.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties