Class: Esearch::Presenter::Cluster::Health

Inherits:
Esearch::Presenter::Cluster show all
Defined in:
lib/esearch/presenter/cluster.rb

Overview

Presenter for cluster health

Instance Method Summary collapse

Instance Method Details

#active_primary_shardsFixnum

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

Returns:

  • (Fixnum)


47
# File 'lib/esearch/presenter/cluster.rb', line 47

expose_primitive('active_primary_shards')

#active_shardsFixnum

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

Returns:

  • (Fixnum)


55
# File 'lib/esearch/presenter/cluster.rb', line 55

expose_primitive('active_shards')

#initializing_shardsFixnum

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

Returns:

  • (Fixnum)


71
# File 'lib/esearch/presenter/cluster.rb', line 71

expose_primitive('initializing_shards')

#nameString

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

Returns:

  • (String)


15
# File 'lib/esearch/presenter/cluster.rb', line 15

expose_primitive('name')

#number_of_data_nodesFixnum

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

Returns:

  • (Fixnum)


39
# File 'lib/esearch/presenter/cluster.rb', line 39

expose_primitive('number_of_data_nodes')

#number_of_nodesString

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

Returns:

  • (String)


31
# File 'lib/esearch/presenter/cluster.rb', line 31

expose_primitive('number_of_nodes')

#relocating_shardsFixnum

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

Returns:

  • (Fixnum)


63
# File 'lib/esearch/presenter/cluster.rb', line 63

expose_primitive('relocating_shards')

#statusString

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

Returns:

  • (String)


23
# File 'lib/esearch/presenter/cluster.rb', line 23

expose_primitive('status')

#unassigned_shardsFixnum

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

Returns:

  • (Fixnum)


79
# File 'lib/esearch/presenter/cluster.rb', line 79

expose_primitive('unassigned_shards')