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



227
228
229
230
231
# File 'lib/logstash/outputs/elasticsearch_java/protocol.rb', line 227

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