Module: ActiveJob::Execution
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Extension / Inclusion / Inheritance Descendants | |
Included In:
ActionMailer::DeliveryJob,
Base
| |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::ActiveSupport::Concern
|
|
Instance Chain:
|
|
Defined in: | activejob/lib/active_job/execution.rb |
::ActiveSupport::Rescuable - Attributes & Methods
Class Method Summary
::ActiveSupport::Concern - Extended
Instance Method Summary
- #perform
-
#perform_now
Performs the job immediately.
::ActiveSupport::Rescuable - Included
#handler_for_rescue, | |
#rescue_with_handler | Tries to rescue the exception by looking up and calling a registered handler. |
Class Attribute Details
.rescue_handlers (rw)
[ GitHub ]# File 'activesupport/lib/active_support/rescuable.rb', line 12
class_attribute :rescue_handlers
.rescue_handlers? ⇒ Boolean
(rw)
[ GitHub ]
# File 'activesupport/lib/active_support/rescuable.rb', line 12
class_attribute :rescue_handlers
Instance Attribute Details
#rescue_handlers (rw)
[ GitHub ]# File 'activesupport/lib/active_support/rescuable.rb', line 12
class_attribute :rescue_handlers
#rescue_handlers? ⇒ Boolean
(rw)
[ GitHub ]
# File 'activesupport/lib/active_support/rescuable.rb', line 12
class_attribute :rescue_handlers
Instance Method Details
#perform
[ GitHub ]# File 'activejob/lib/active_job/execution.rb', line 38
def perform(*) fail NotImplementedError end
#perform_now
Performs the job immediately. The job is not sent to the queueing adapter but directly executed by blocking the execution of others until it's finished.
MyJob.new(*args).perform_now