Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Zend Platform JobQueue adapter
ZendApi_JobQueue $_zendQueue = ''
Details__construct(
array|Zend_Config $options, Zend_Queue|null $queue
=
null
)
:
voidConstructor
Details__sleep(
)
:
arraySerialize
Details__wakeup(
)
:
voidUnserialize
Detailscount(
Zend_Queue|null $queue
=
null
)
:
integerReturn the approximate number of messages in the queue
Detailscreate(
string $name, integer $timeout
=
null
)
:
voidCreate a new queue
Detailsdelete(
string $name
)
:
voidDelete a queue and all of its messages
DetailsdeleteMessage(
Zend_Queue_Message $message
)
:
booleanDelete a message from the queue
Returns true if the message is deleted, false if the deletion is unsuccessful.
DetailsgetCapabilities(
)
:
arrayReturn a list of queue capabilities functions
$array['function name'] = true or false true is supported, false is not supported.
DetailsgetQueues(
)
:
voidGet an array of all available queues
DetailsisExists(
string $name
)
:
booleanDoes a queue already exist?
DetailsisJobIdExist(
$id
)
:
Detailsreceive(
integer $maxMessages
=
null, integer $timeout
=
null, Zend_Queue $queue
=
null
)
:
ArrayIteratorGet messages in the queue
Detailssend(
array $message, Zend_Queue $queue
=
null
)
:
Zend_Queue_MessageSend a message to the queue
Details