protected function registerJob(string $jobName, string $workerId) : bool
    {
        if (!isset($this->workerJobCapabilities[$workerId])) {
            $this->workerJobCapabilities[$workerId] = [];
        }
        if (!in_array($jobName, $this->workerJobCapabilities[$workerId])) {
            array_push($this->workerJobCapabilities[$workerId], $jobName);
        }
        return true;
    }