protected function getLock($name, $blocking) { if (!$this->client->setnx($name, serialize($this->getLockInformation()))) { return false; } return true; }