Class: LogStash::Outputs::ElasticSearchJavaPlugins::Protocols::TransportClient

Inherits:
NodeClient
  • Object
show all
Defined in:
lib/logstash/outputs/elasticsearch_java/protocol.rb

Overview

class NodeClient

Constant Summary

Constants inherited from NodeClient

NodeClient::CLIENT_MUTEX

Instance Method Summary collapse

Methods inherited from NodeClient

#bulk, clear_client, get_client, #initialize

Methods inherited from Base

#initialize, #template_install

Constructor Details

This class inherits a constructor from LogStash::Outputs::ElasticSearchJavaPlugins::Protocols::NodeClient

Instance Method Details

#clientObject



233
234
235
236
237
# File 'lib/logstash/outputs/elasticsearch_java/protocol.rb', line 233

def client
  return @client if @client
  @client = build_client(@options)
  return @client
end