Module: ActiveJob::QueueAdapters::AsyncExt

Includes:
MissionControl::Jobs::Adapter
Defined in:
lib/active_job/queue_adapters/async_ext.rb

Instance Method Summary collapse

Methods included from MissionControl::Jobs::Adapter

#activating, #exposes_workers?, #find_recurring_task, #find_worker, #pause_queue, #queue_paused?, #recurring_tasks, #resume_queue, #supported_job_statuses, #supports_job_filter?, #supports_job_status?, #supports_recurring_tasks?, #workers

Instance Method Details

#clear_queueObject



21
22
# File 'lib/active_job/queue_adapters/async_ext.rb', line 21

def clear_queue(*)
end

#discard_all_jobsObject



38
39
# File 'lib/active_job/queue_adapters/async_ext.rb', line 38

def discard_all_jobs(*)
end

#discard_jobObject



41
42
# File 'lib/active_job/queue_adapters/async_ext.rb', line 41

def discard_job(*)
end

#dispatch_jobObject



44
45
# File 'lib/active_job/queue_adapters/async_ext.rb', line 44

def dispatch_job(*)
end

#fetch_jobsObject



28
29
30
# File 'lib/active_job/queue_adapters/async_ext.rb', line 28

def fetch_jobs(*)
  []
end

#find_jobObject



47
48
# File 'lib/active_job/queue_adapters/async_ext.rb', line 47

def find_job(*)
end

#jobs_countObject



24
25
26
# File 'lib/active_job/queue_adapters/async_ext.rb', line 24

def jobs_count(*)
  0
end

#queue_sizeObject



17
18
19
# File 'lib/active_job/queue_adapters/async_ext.rb', line 17

def queue_size(*)
  0
end

#queuesObject



13
14
15
# File 'lib/active_job/queue_adapters/async_ext.rb', line 13

def queues
  []
end

#retry_all_jobsObject



32
33
# File 'lib/active_job/queue_adapters/async_ext.rb', line 32

def retry_all_jobs(*)
end

#retry_job(job) ⇒ Object



35
36
# File 'lib/active_job/queue_adapters/async_ext.rb', line 35

def retry_job(job, *)
end

#supported_job_filters(jobs_relation) ⇒ Object

List of filters supported natively. Non-supported filters are done in memory.



5
6
7
# File 'lib/active_job/queue_adapters/async_ext.rb', line 5

def supported_job_filters(jobs_relation)
  []
end

#supports_queue_pausing?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/active_job/queue_adapters/async_ext.rb', line 9

def supports_queue_pausing?
  false
end