Class: FreshConnection::ExecutorHook
- Inherits:
-
Object
- Object
- FreshConnection::ExecutorHook
- Defined in:
- lib/fresh_connection/executor_hook.rb
Class Method Summary collapse
Class Method Details
.complete(*args) ⇒ Object
9 10 11 |
# File 'lib/fresh_connection/executor_hook.rb', line 9 def complete(*args) ReplicaConnectionHandler.instance.put_aside! end |
.install_executor_hooks ⇒ Object
13 14 15 |
# File 'lib/fresh_connection/executor_hook.rb', line 13 def install_executor_hooks ActiveSupport::Executor.register_hook(self) end |
.run ⇒ Object
6 7 |
# File 'lib/fresh_connection/executor_hook.rb', line 6 def run end |