Class: LogStash::Inputs::Threadable
- Defined in:
- lib/logstash/inputs/threadable.rb
Overview
This is the threadable class for logstash inputs. Use this class in your inputs if it can support multiple threads
Constant Summary
Constants included from Config::Mixin
Config::Mixin::CONFIGSORT, Config::Mixin::PLUGIN_VERSION_0_9_0, Config::Mixin::PLUGIN_VERSION_1_0_0
Constants inherited from Plugin
Instance Attribute Summary
Attributes inherited from Base
Attributes included from Config::Mixin
Attributes inherited from Plugin
Instance Method Summary collapse
-
#initialize(params) ⇒ Threadable
constructor
A new instance of Threadable.
Methods inherited from Base
Methods included from Config::Mixin
Methods inherited from Plugin
#eql?, #finished, #finished?, #hash, #inspect, lookup, #reload, #running?, #shutdown, #teardown, #terminating?, #to_s
Constructor Details
#initialize(params) ⇒ Threadable
Returns a new instance of Threadable.
13 14 15 16 |
# File 'lib/logstash/inputs/threadable.rb', line 13 def initialize(params) super @threadable = true end |