Method: Elasticsearch::Transport::Transport::Connections::Collection#connections

Defined in:
lib/elasticsearch/transport/transport/connections/collection.rb

#connectionsArray Also known as: alive

Returns an Array of alive connections.

Returns:

  • (Array)
[View source]

58
59
60
# File 'lib/elasticsearch/transport/transport/connections/collection.rb', line 58

def connections
  @connections.reject { |c| c.dead? }
end