Class: SolidQueue::Processes::Poller
- Includes:
- Runnable
- Defined in:
- lib/solid_queue/processes/poller.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#polling_interval ⇒ Object
Returns the value of attribute polling_interval.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(polling_interval:, **options) ⇒ Poller
constructor
A new instance of Poller.
- #metadata ⇒ Object
Methods included from Runnable
Methods included from Supervised
Methods inherited from Base
Methods included from AppExecutor
#handle_thread_error, #wrap_in_app_executor
Methods included from Registrable
Methods included from Interruptible
Methods included from Procline
Constructor Details
#initialize(polling_interval:, **options) ⇒ Poller
Returns a new instance of Poller.
9 10 11 12 13 |
# File 'lib/solid_queue/processes/poller.rb', line 9 def initialize(polling_interval:, **) @polling_interval = polling_interval super(**) end |
Instance Attribute Details
#polling_interval ⇒ Object
Returns the value of attribute polling_interval.
7 8 9 |
# File 'lib/solid_queue/processes/poller.rb', line 7 def polling_interval @polling_interval end |
Instance Method Details
#metadata ⇒ Object
15 16 17 |
# File 'lib/solid_queue/processes/poller.rb', line 15 def super.merge(polling_interval: polling_interval) end |