Class: Fluent::Compat::Input
- Inherits:
-
Plugin::Input
- Object
- Plugin::Base
- Plugin::Input
- Fluent::Compat::Input
- Defined in:
- lib/fluent/compat/input.rb
Constant Summary
Constants included from Fluent::Configurable
Fluent::Configurable::CONFIG_TYPE_REGISTRY
Instance Attribute Summary
Attributes included from PluginLoggerMixin
Attributes inherited from Plugin::Base
Instance Method Summary collapse
- #before_shutdown ⇒ Object
-
#initialize ⇒ Input
constructor
TODO: warn when deprecated.
- #shutdown ⇒ Object
-
#start ⇒ Object
These definitions are to get instance methods of superclass of 3rd party plugins to make it sure to call super.
Methods inherited from Plugin::Input
#configure, #emit_records, #emit_size, #metric_callback, #multi_workers_ready?, #statistics
Methods included from PluginHelper::Mixin
Methods included from PluginLoggerMixin
#configure, included, #terminate
Methods included from PluginId
#configure, #plugin_id, #plugin_id_configured?, #plugin_id_for_test?, #plugin_root_dir, #stop
Methods inherited from Plugin::Base
#acquire_worker_lock, #after_shutdown, #after_shutdown?, #after_start, #after_started?, #before_shutdown?, #called_in_test?, #close, #closed?, #configure, #configured?, #context_router, #context_router=, #fluentd_worker_id, #get_lock_path, #has_router?, #inspect, #multi_workers_ready?, #plugin_root_dir, #reloadable_plugin?, #shutdown?, #started?, #stop, #stopped?, #string_safe_encoding, #terminate, #terminated?
Methods included from SystemConfig::Mixin
#system_config, #system_config_override
Methods included from Fluent::Configurable
#config, #configure, #configure_proxy_generate, #configured_section_create, included, lookup_type, register_type
Constructor Details
#initialize ⇒ Input
TODO: warn when deprecated
27 28 29 30 31 32 |
# 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 |
Instance Method Details
#before_shutdown ⇒ Object
40 41 42 |
# File 'lib/fluent/compat/input.rb', line 40 def before_shutdown super end |
#shutdown ⇒ Object
44 45 46 |
# File 'lib/fluent/compat/input.rb', line 44 def shutdown super end |
#start ⇒ Object
These definitions are to get instance methods of superclass of 3rd party plugins to make it sure to call super
36 37 38 |
# File 'lib/fluent/compat/input.rb', line 36 def start super end |