Class: Esearch::Presenter::Cluster::Health
- Inherits:
-
Esearch::Presenter::Cluster
- Object
- Esearch::Presenter
- Esearch::Presenter::Cluster
- Esearch::Presenter::Cluster::Health
- Defined in:
- lib/esearch/presenter/cluster.rb
Overview
Presenter for cluster health
Instance Method Summary collapse
-
#active_primary_shards ⇒ Fixnum
private
Return number of active primary shards.
-
#active_shards ⇒ Fixnum
private
Return number of active shards.
-
#initializing_shards ⇒ Fixnum
private
Return number of initializing shards.
-
#name ⇒ String
private
Return cluster name.
-
#number_of_data_nodes ⇒ Fixnum
private
Return number of data nodes.
-
#number_of_nodes ⇒ String
private
Return number of nodes.
-
#relocating_shards ⇒ Fixnum
private
Return number of relocating shards.
-
#status ⇒ String
private
Return status string.
-
#unassigned_shards ⇒ Fixnum
private
Return number of unassigned shards.
Instance Method Details
#active_primary_shards ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of active primary shards
47 |
# File 'lib/esearch/presenter/cluster.rb', line 47 expose_primitive('active_primary_shards') |
#active_shards ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of active shards
55 |
# File 'lib/esearch/presenter/cluster.rb', line 55 expose_primitive('active_shards') |
#initializing_shards ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of initializing shards
71 |
# File 'lib/esearch/presenter/cluster.rb', line 71 expose_primitive('initializing_shards') |
#name ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return cluster name
15 |
# File 'lib/esearch/presenter/cluster.rb', line 15 expose_primitive('name') |
#number_of_data_nodes ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of data nodes
39 |
# File 'lib/esearch/presenter/cluster.rb', line 39 expose_primitive('number_of_data_nodes') |
#number_of_nodes ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of nodes
31 |
# File 'lib/esearch/presenter/cluster.rb', line 31 expose_primitive('number_of_nodes') |
#relocating_shards ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of relocating shards
63 |
# File 'lib/esearch/presenter/cluster.rb', line 63 expose_primitive('relocating_shards') |
#status ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return status string
23 |
# File 'lib/esearch/presenter/cluster.rb', line 23 expose_primitive('status') |
#unassigned_shards ⇒ Fixnum
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return number of unassigned shards
79 |
# File 'lib/esearch/presenter/cluster.rb', line 79 expose_primitive('unassigned_shards') |