JoobQ::Queue(T)
Inherits JoobQ::BaseQueue < Reference < Object
The Queue class now focuses solely on queue operations
Constructors
new(name : String, total_workers : Int32, throttle_limit : NamedTuple(limit: Int32, period: Time::Span) | Nil = nil)
SourceInstance methods
add(job : T)
SourceEnhanced cleanup for successfully completed jobs IMPORTANT: job_json must be the FULL job JSON string, not just the job ID
Pipelined job cleanup for improved performance IMPORTANT: job_json must be the FULL job JSON string, not just the job ID
Batch job cleanup for improved performance
clear
Sourcejob_type
Sourcename
Sourcenext_job
Sourcerunning?
Sourcerunning_workers
Sourcesize
Sourcestart
Sourcestatus
Sourcestop!
Sourcestore
Sourcethrottle_limit
Sourcetotal_workers
SourceVerify that a job has been properly removed from processing queue
worker_manager
Source