Class: LogStash::Inputs::Threadable
- Inherits:
-
Base
- Object
- Base
- 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
Instance Method Summary collapse
-
#initialize(params) ⇒ Threadable
constructor
A new instance of Threadable.
Constructor Details
#initialize(params) ⇒ Threadable
Returns a new instance of Threadable.
12 13 14 15 |
# File 'lib/logstash/inputs/threadable.rb', line 12 def initialize(params) super @threadable = true end |