class Fluent::OpenLDAPMonitorInput::TimerWatcher
Public Class Methods
new(interval, repeat, &checker)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/in_openldap_monitor.rb, line 94 def initialize(interval, repeat, &checker) @checker = checker super(interval, repeat) end
Public Instance Methods
on_timer()
click to toggle source
# File lib/fluent/plugin/in_openldap_monitor.rb, line 99 def on_timer @checker.call end