Class: Fluent::PluginHelper::EventLoop::DefaultWatcher

Inherits:
Coolio::TimerWatcher
  • Object
show all
Defined in:
lib/fluent/plugin_helper/event_loop.rb

Overview

watcher to block to run event loop until shutdown

Instance Method Summary collapse

Constructor Details

#initializeDefaultWatcher

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_timerObject

do nothing



166
# File 'lib/fluent/plugin_helper/event_loop.rb', line 166

def on_timer; end