Beanstalk\Command\Stats Class Ref

class Beanstalk\Command\Stats
Extends:Beanstalk\Command
Description:The stats command gives statistical information about the system as a whole
Author:Joshua Dechant <jdechant@shapeup.com>

Class Methods

Beanstalk\Command\Stats::getCommand()
Description:Get the command to send to the beanstalkd server
Returns:string
Beanstalk\Command\Stats::parseResponse($response[, $data = null, $conn = null])
Description:

Parse the response for success or failure.

Parameters:
  • $response (string) – Response line, i.e, first line in response
  • $data (string) – Data recieved with reponse, if any, else null
  • $conn (BeanstalkConnection) – BeanstalkConnection use to send the command
Returns:

BeanstalkStats

Throws:

BeanstalkException When any error occurs

Beanstalk\Command\Stats::returnsData()
Description:Does the command return data?
Returns:boolean