Beanstalk\Command\
Bury
¶Extends: | Beanstalk\Command |
---|---|
Description: | Bury command |
Author: | Joshua Dechant <jdechant@shapeup.com> |
The bury command puts a job into the “buried” state. Buried jobs are put into a FIFO linked list and will not be touched by the server again until a client kicks them with the “kick” command.
Class Methods
Bury::__construct
– ConstructorBury::getCommand
– Get the bury command to send to the beanstalkd serverBury::parseResponse
– Parse the response for success or failure.Beanstalk\Command\Bury::
__construct
($id, $priority)¶Description: | Constructor |
---|---|
Parameters: |
|
Beanstalk\Command\Bury::
getCommand
()¶Description: | Get the bury command to send to the beanstalkd server |
---|---|
Returns: | string |
Beanstalk\Command\Bury::
parseResponse
($response[, $data = null, $conn = null])¶Description: | Parse the response for success or failure. |
---|---|
Parameters: |
|
Returns: | boolean True if command was successful |
Throws: | BeanstalkException When the job cannot be found |
Throws: | BeanstalkException When any other error occurs |