ProtoHackers::JobCentre::Manager
Inherits Reference < Object
Instance methods
abort_job(worker_id : String, job_id : UInt64) : Bool
Sourceadd_job(queue : String, priority : Int32, payload : Hash(String, String)) : UInt64
Sourcedelete_job(job_id : UInt64) : Bool
Sourceget_job?(worker_id : String, queues : Array(String)) : Job | Nil
Sourceid
Sourceid=(id : UInt64)
Sourcein_progress
Sourcein_progress=(in_progress : Hash(String, Array(Job)))
Sourceon_disconnect(worker_id : String)
Sourcequeues
Sourcequeues=(queues : Hash(String, Array(Job)))
Source