Beanstalk\Command\
PauseTube
¶Extends: | Beanstalk\Command |
---|---|
Description: | The pause-tube command can delay any new job being reserved for a given time |
Author: | Joshua Dechant <jdechant@shapeup.com> |
Class Methods
PauseTube::__construct
– ConstructorPauseTube::getCommand
– Get the command to send to the beanstalkd serverPauseTube::parseResponse
– Parse the response for success or failure.Beanstalk\Command\PauseTube::
__construct
($tube, $delay)¶Description: | Constructor |
---|---|
Parameters: |
|
Beanstalk\Command\PauseTube::
getCommand
()¶Description: | Get the command to send to the beanstalkd server |
---|---|
Returns: | string |
Beanstalk\Command\PauseTube::
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 tube does not exist |
Throws: | BeanstalkException When any other error occurs |