Module: Radfish::Core::Jobs
- Defined in:
- lib/radfish/core/jobs.rb
Instance Method Summary collapse
- #cancel_job(job_id) ⇒ Object
- #clear_completed_jobs ⇒ Object
- #job_status(job_id) ⇒ Object
- #jobs ⇒ Object
- #jobs_summary ⇒ Object
- #wait_for_job(job_id, timeout: 600) ⇒ Object
Instance Method Details
#cancel_job(job_id) ⇒ Object
18 19 20 |
# File 'lib/radfish/core/jobs.rb', line 18 def cancel_job(job_id) raise NotImplementedError, "Adapter must implement #cancel_job" end |
#clear_completed_jobs ⇒ Object
22 23 24 |
# File 'lib/radfish/core/jobs.rb', line 22 def clear_completed_jobs raise NotImplementedError, "Adapter must implement #clear_completed_jobs" end |
#job_status(job_id) ⇒ Object
10 11 12 |
# File 'lib/radfish/core/jobs.rb', line 10 def job_status(job_id) raise NotImplementedError, "Adapter must implement #job_status" end |
#jobs ⇒ Object
6 7 8 |
# File 'lib/radfish/core/jobs.rb', line 6 def jobs raise NotImplementedError, "Adapter must implement #jobs" end |
#jobs_summary ⇒ Object
26 27 28 |
# File 'lib/radfish/core/jobs.rb', line 26 def jobs_summary raise NotImplementedError, "Adapter must implement #jobs_summary" end |
#wait_for_job(job_id, timeout: 600) ⇒ Object
14 15 16 |
# File 'lib/radfish/core/jobs.rb', line 14 def wait_for_job(job_id, timeout: 600) raise NotImplementedError, "Adapter must implement #wait_for_job" end |