Bolt v0.1.6 Bolt.Queue View Source
Queue is the primary module to interact with the job queue.
Link to this section Summary
Functions
Checksout the next job from the queue if it exists. This will copy the job to the inprogress backup to protect against lost jobs
Adds a job to the queue if it exists
Returns a running queue by name
Marks a job as finished. It will be removed from inprogress and its job data will be removed
initializes the queue by starting each of the schedulers defined in the config
Returns the worker module assigned in the config for a queue
Pulls all inprogress jobs for this queue back into the queue to be run immediately
Returns the list of schedulers
Sets the max worker count for the scheduler
Start a new Queue which can contain may schedulers
Returns a the status for each scheduler and its workers
Link to this section Functions
Checksout the next job from the queue if it exists. This will copy the job to the inprogress backup to protect against lost jobs.
Adds a job to the queue if it exists.
Returns a running queue by name.
Marks a job as finished. It will be removed from inprogress and its job data will be removed.
initializes the queue by starting each of the schedulers defined in the config.
Returns the worker module assigned in the config for a queue.
Pulls all inprogress jobs for this queue back into the queue to be run immediately.
Returns the list of schedulers
Sets the max worker count for the scheduler.
Start a new Queue which can contain may schedulers
Returns a the status for each scheduler and its workers.