Beanstalk\Command\
StatsTube
¶Extends: | Beanstalk\Command |
---|---|
Description: | The stats-tube command gives statistical information about the specified tube if it exists |
Class Methods
StatsTube::__construct
– ConstructorStatsTube::getCommand
– Get the command to send to the beanstalkd serverStatsTube::parseResponse
– Parse the response for success or failure.StatsTube::returnsData
– Does the command return data?Beanstalk\Command\StatsTube::
__construct
($tube)¶Description: | Constructor |
---|---|
Parameters: |
|
Throws: | BeanstalkException When $tube exceeds 200 bytes |
Beanstalk\Command\StatsTube::
getCommand
()¶Description: | Get the command to send to the beanstalkd server |
---|---|
Returns: | string |
Beanstalk\Command\StatsTube::
parseResponse
($response[, $data = null, $conn = null])¶Description: | Parse the response for success or failure. |
---|---|
Parameters: |
|
Returns: | BeanstalkStats |
Throws: | BeanstalkException When the job does not exist |
Throws: | BeanstalkException When any other error occurs |
Beanstalk\Command\StatsTube::
returnsData
()¶Description: | Does the command return data? |
---|---|
Returns: | boolean |