public function getTubeStatValues($tube)
{
// make sure, that rapid tube disappearance (eg: anonymous tubes, don't kill the interface, as they might be missing)
try {
return $this->interface->_client->statsTube($tube);
} catch (Pheanstalk_Exception_ServerException $ex) {
if (strpos($ex->getMessage(), Pheanstalk_Response::RESPONSE_NOT_FOUND) !== false) {
return array();
} else {
throw $ex;
}
}
}