Method: Fluent::SpectrumInput::TimerWatcher#initialize

Defined in:
lib/fluent/plugin/in_spectrum.rb

#initialize(interval, repeat, &callback) ⇒ TimerWatcher

Returns a new instance of TimerWatcher.



26
27
28
29
# File 'lib/fluent/plugin/in_spectrum.rb', line 26

def initialize(interval, repeat, &callback)
  @callback = callback
  super(interval, repeat)
end