Sha256: ba025f7161eeeda8b85b6e07240a0c63d3e64f7a4992202a996582c70904f121

Contents?: true

Size: 513 Bytes

Versions: 76

Compression:

Stored size: 513 Bytes

Contents

module LogStash module OutputDelegatorStrategies class Shared
  def initialize(logger, klass, metric, execution_context, plugin_args)
    @output = klass.new(plugin_args)
    @output.metric = metric
    @output.execution_context = execution_context
  end
  
  def register
    @output.register
  end

  def multi_receive(events)
    @output.multi_receive(events)
  end

  def do_close    
    @output.do_close
  end

  ::LogStash::OutputDelegatorStrategyRegistry.instance.register(:shared, self)  
end; end; end

Version data entries

76 entries across 76 versions & 7 rubygems

Version Path
logstash-core-5.5.2-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-6.0.0.beta1-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.5.1-java lib/logstash/output_delegator_strategies/shared.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/logstash-core-5.5.1.snapshot1-java/lib/logstash/output_delegator_strategies/shared.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.5.1.snapshot1-java/lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.5.1.snapshot1-java lib/logstash/output_delegator_strategies/shared.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.5.0-java/lib/logstash/output_delegator_strategies/shared.rb
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.5.0-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.4.3-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.4.2-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-6.0.0.alpha2-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.4.1-java lib/logstash/output_delegator_strategies/shared.rb
logstash-filter-htmlentities-0.1.0 vendor/bundle/jruby/1.9/gems/logstash-core-5.4.0-java/lib/logstash/output_delegator_strategies/shared.rb
logstash-core-6.0.0.alpha1-java lib/logstash/output_delegator_strategies/shared.rb
logstash-core-5.4.0-java lib/logstash/output_delegator_strategies/shared.rb