Class: Fluent::PluginHelper::EventLoop::DefaultWatcher
- Inherits:
-
Coolio::TimerWatcher
- Object
- Coolio::TimerWatcher
- Fluent::PluginHelper::EventLoop::DefaultWatcher
- Defined in:
- lib/fluent/plugin_helper/event_loop.rb
Overview
watcher to block to run event loop until shutdown
Instance Method Summary collapse
-
#initialize ⇒ DefaultWatcher
constructor
A new instance of DefaultWatcher.
-
#on_timer ⇒ Object
do nothing.
Constructor Details
#initialize ⇒ DefaultWatcher
Returns a new instance of DefaultWatcher.
162 163 164 |
# File 'lib/fluent/plugin_helper/event_loop.rb', line 162 def initialize super(1, true) # interval: 1, repeat: true end |
Instance Method Details
#on_timer ⇒ Object
do nothing
166 |
# File 'lib/fluent/plugin_helper/event_loop.rb', line 166 def on_timer; end |