def METHOD_NAME(self, host_name, job_data):
    """Create new job from passed data and add it to queue."""
    job = Job(host_name, job_data)
    self._jobs_by_id[job.id] = job
    self._job_queue_by_host_name[host_name].append(job)
    return job