Beanstalk\Command\
Kick
¶Extends: | Beanstalk\Command |
---|---|
Description: | Kick command |
Author: | Joshua Dechant <jdechant@shapeup.com> |
The kick command applies only to the currently used tube. It moves jobs into the ready queue. If there are any buried jobs, it will only kick buried jobs. Otherwise it will kick delayed jobs
Class Methods
Kick::__construct
– ConstructorKick::getCommand
– Get the delete command to send to the beanstalkd serverKick::parseResponse
– Parse the response for success or failure.Beanstalk\Command\Kick::
__construct
($bound)¶Description: | Constructor |
---|---|
Parameters: |
|
Beanstalk\Command\Kick::
getCommand
()¶Description: | Get the delete command to send to the beanstalkd server |
---|---|
Returns: | string |
Beanstalk\Command\Kick::
parseResponse
($response[, $data = null, $conn = null])¶Description: | Parse the response for success or failure. |
---|---|
Parameters: |
|
Returns: | integer The number of jobs actually kicked |
Throws: | BeanstalkException When any error occurs |