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
40 41 42 |
# File 'lib/que/adapters/active_record.rb', line 40 def committed!(should_run_callbacks = true) Que.wake! end |
#has_transactional_callbacks? ⇒ Boolean
32 33 34 |
# File 'lib/que/adapters/active_record.rb', line 32 def has_transactional_callbacks? true end |
#rolledback!(force_restore_state = false, should_run_callbacks = true) ⇒ Object
36 37 38 |
# File 'lib/que/adapters/active_record.rb', line 36 def rolledback!(force_restore_state = false, should_run_callbacks = true) # no-op end |