class Fluent::Compat::Input

Private Class Methods

new() click to toggle source

TODO: warn when deprecated

Calls superclass method Fluent::PluginLoggerMixin::new
# File lib/fluent/compat/input.rb, line 27
def initialize
  super
  unless self.class.ancestors.include?(Fluent::Compat::CallSuperMixin)
    self.class.prepend Fluent::Compat::CallSuperMixin
  end
end

Private Instance Methods

before_shutdown() click to toggle source
Calls superclass method Fluent::Plugin::Base#before_shutdown
# File lib/fluent/compat/input.rb, line 40
def before_shutdown
  super
end
detach_multi_process(&block) click to toggle source
# File lib/fluent/compat/input.rb, line 53
def detach_multi_process(&block)
  log.warn "detach_process is not supported in this version. ignored."
  block.call
end
detach_process(&block) click to toggle source
# File lib/fluent/compat/input.rb, line 48
def detach_process(&block)
  log.warn "detach_process is not supported in this version. ignored."
  block.call
end
shutdown() click to toggle source
Calls superclass method Fluent::Plugin::Base#shutdown
# File lib/fluent/compat/input.rb, line 44
def shutdown
  super
end
start() click to toggle source

These definitions are to get instance methods of superclass of 3rd party plugins to make it sure to call super

Calls superclass method Fluent::Plugin::Base#start
# File lib/fluent/compat/input.rb, line 36
def start
  super
end