Zend Framework
1.12
|
Public Member Functions | |
__construct ($options, Zend_Queue $queue=null) | |
Constructor. | |
isExists ($name) | |
Does a queue already exist? | |
create ($name, $timeout=null) | |
Create a new queue. | |
delete ($name) | |
Delete a queue and all of it's messages. | |
getQueues () | |
Get an array of all available queues. | |
count (Zend_Queue $queue=null) | |
Return the approximate number of messages in the queue. | |
send ($message, Zend_Queue $queue=null) | |
Send a message to the queue. | |
receive ($maxMessages=null, $timeout=null, Zend_Queue $queue=null) | |
Get messages in the queue. | |
deleteMessage (Zend_Queue_Message $message) | |
Delete a message from the queue. | |
getCapabilities () | |
Return a list of queue capabilities functions. | |
![]() | |
__construct ($options, Zend_Queue $queue=null) | |
Constructor. | |
getQueue () | |
get the Zend_Queue class that is attached to this object | |
setQueue (Zend_Queue $queue) | |
set the Zend_Queue class for this object | |
getOptions () | |
Returns the configuration options in this adapter. | |
isSupported ($name) | |
Indicates if a function is supported or not. | |
Additional Inherited Members | |
![]() | |
const | CREATE_TIMEOUT_DEFAULT = 30 |
Default timeout for createQueue() function. | |
const | RECEIVE_TIMEOUT_DEFAULT = 30 |
Default timeout for recieve() function. | |
![]() | |
$_options = array() | |
$_queues = array() | |
$_queue = null | |
__construct | ( | $options, | |
Zend_Queue | $queue = null |
||
) |
Constructor.
array | Zend_Config | $options | |
null | Zend_Queue | $queue |
Implements Zend_Queue_Adapter_AdapterInterface.
count | ( | Zend_Queue | $queue = null | ) |
Return the approximate number of messages in the queue.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
create | ( | $name, | |
$timeout = null |
|||
) |
Create a new queue.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
delete | ( | $name | ) |
Delete a queue and all of it's messages.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
deleteMessage | ( | Zend_Queue_Message | $message | ) |
Delete a message from the queue.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
getCapabilities | ( | ) |
Return a list of queue capabilities functions.
$array['function name'] = true or false true is supported, false is not supported.
string | $name |
Implements Zend_Queue_Adapter_AdapterInterface.
getQueues | ( | ) |
Get an array of all available queues.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
isExists | ( | $name | ) |
Does a queue already exist?
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
receive | ( | $maxMessages = null , |
|
$timeout = null , |
|||
Zend_Queue | $queue = null |
||
) |
Get messages in the queue.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.
send | ( | $message, | |
Zend_Queue | $queue = null |
||
) |
Send a message to the queue.
Zend_Queue_Exception | - not supported. |
Implements Zend_Queue_Adapter_AdapterInterface.