Class: Que::Adapters::ActiveRecord::TransactionCallback
- Inherits:
-
Object
- Object
- Que::Adapters::ActiveRecord::TransactionCallback
- Defined in:
- lib/que/adapters/active_record.rb
Instance Method Summary collapse
- #committed!(should_run_callbacks = true) ⇒ Object
- #has_transactional_callbacks? ⇒ Boolean
- #rolledback!(force_restore_state = false, should_run_callbacks = true) ⇒ Object
Instance Method Details
#committed!(should_run_callbacks = true) ⇒ Object
26 27 28 |
# File 'lib/que/adapters/active_record.rb', line 26 def committed!(should_run_callbacks = true) Que.wake! end |
#has_transactional_callbacks? ⇒ Boolean
18 19 20 |
# File 'lib/que/adapters/active_record.rb', line 18 def has_transactional_callbacks? true end |
#rolledback!(force_restore_state = false, should_run_callbacks = true) ⇒ Object
22 23 24 |
# File 'lib/que/adapters/active_record.rb', line 22 def rolledback!(force_restore_state = false, should_run_callbacks = true) # no-op end |