Class: Elasticity::InstrumentedClient
- Inherits:
-
Object
- Object
- Elasticity::InstrumentedClient
- Defined in:
- lib/elasticity/instrumented_client.rb
Constant Summary collapse
- INDICES_METHODS =
%w(exists create delete get_settings get_mapping flush get_alias get_aliases put_alias delete_alias exists_alias update_aliases)- INDEX_METHODS =
%w(index delete get mget search count msearch scroll delete_by_query bulk)
Instance Method Summary collapse
-
#initialize(client) ⇒ InstrumentedClient
constructor
A new instance of InstrumentedClient.
Constructor Details
#initialize(client) ⇒ InstrumentedClient
Returns a new instance of InstrumentedClient.
6 7 8 |
# File 'lib/elasticity/instrumented_client.rb', line 6 def initialize(client) @client = client end |