View Source Bildad.Job.JobQueueEntries (Bildad v0.1.7)

Manages job queue entries.

Summary

Functions

Gets the job queue entry for the provided job run identifier. Returns nil if not found.

Gets the number of jobs currently in the queue.

Gets the queue position for the provided job run identifier. Returns nil if not found.

Lists all the jobs in the queue without pagination.

Lists all the jobs in the queue with pagination.

Lists all the jobs for the given status in the queue without pagination.

Lists all the jobs for the given status in the queue with pagination (with the default page size if nil provided for the page size).

Lists all the jobs that are available to run in the queue without pagination.

Lists all the jobs that are available to run in the queue with pagination.

Lists all the jobs that are running in the queue without pagination.

Lists all the jobs that are running in the queue with pagination.

Functions

Link to this function

get_job_queue_entry_for_identifier(job_config, job_run_identifier)

View Source

Gets the job queue entry for the provided job run identifier. Returns nil if not found.

Link to this function

get_number_of_jobs_in_the_queue(job_config)

View Source

Gets the number of jobs currently in the queue.

Link to this function

get_queue_position_for_job_run_identifier(job_config, job_run_identifier)

View Source

Gets the queue position for the provided job run identifier. Returns nil if not found.

Link to this function

list_all_jobs_in_the_queue(job_config)

View Source

Lists all the jobs in the queue without pagination.

Link to this function

list_all_jobs_in_the_queue(job_config, page, limit)

View Source

Lists all the jobs in the queue with pagination.

Link to this function

list_jobs_for_status_in_the_queue(job_config, status)

View Source

Lists all the jobs for the given status in the queue without pagination.

Link to this function

list_jobs_for_status_in_the_queue(job_config, status, page, limit)

View Source

Lists all the jobs for the given status in the queue with pagination (with the default page size if nil provided for the page size).

Link to this function

list_jobs_to_run_in_the_queue(job_config)

View Source

Lists all the jobs that are available to run in the queue without pagination.

Link to this function

list_jobs_to_run_in_the_queue(job_config, page, limit \\ nil)

View Source

Lists all the jobs that are available to run in the queue with pagination.

Link to this function

list_running_jobs_in_the_queue(job_config)

View Source

Lists all the jobs that are running in the queue without pagination.

Link to this function

list_running_jobs_in_the_queue(job_config, page, limit \\ nil)

View Source

Lists all the jobs that are running in the queue with pagination.

Link to this function

preload_job_queue_entries(entries, job_config)

View Source