@abstract Common functionality for connection selector implementations.
@option arguments [Connections::Collection] :connections Collection with connections.
# File lib/elasticsearch/transport/transport/connections/selector.rb, line 14 def initialize(arguments={}) @connections = arguments[:connections] end
@abstract Selector strategies implement this method to
select and return a connection from the pool.
@return [Connection]
# File lib/elasticsearch/transport/transport/connections/selector.rb, line 23 def select(options={}) raise NoMethodError, "Implement this method in the selector implementation." end