public function setGearmanHost(string $hostname) : void
    {
        if (empty($hostname)) {
            throw new ManagerException('Hostname can not be empty.');
        }
        $this->gearmanHost = $hostname;
    }