Class: LogStash::Inputs::Threadable

Inherits:
Base
  • Object
show all
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

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