Method: Elasticsearch::Transport::Transport::Connections::Collection#connections
- Defined in:
- lib/elasticsearch/transport/transport/connections/collection.rb
permalink #connections ⇒ Array Also known as: alive
Returns an Array of alive connections.
58 59 60 |
# File 'lib/elasticsearch/transport/transport/connections/collection.rb', line 58 def connections @connections.reject { |c| c.dead? } end |