Module: SolidQueue::Process::Executor
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/solid_queue_mongoid/models/classes.rb,
lib/solid_queue_mongoid/models/process/executor.rb
Instance Method Summary collapse
Instance Method Details
#fail_all_claimed_executions_with(error) ⇒ Object
15 16 17 |
# File 'lib/solid_queue_mongoid/models/process/executor.rb', line 15 def fail_all_claimed_executions_with(error) claimed_executions.fail_all_with(error) if claims_executions? end |
#release_all_claimed_executions ⇒ Object
19 20 21 |
# File 'lib/solid_queue_mongoid/models/process/executor.rb', line 19 def release_all_claimed_executions claimed_executions.release_all if claims_executions? end |