Class: Droonga::Plugins::System::StatusHandler

Inherits:
Handler
  • Object
show all
Defined in:
lib/droonga/plugins/system/status.rb

Instance Attribute Summary

Attributes inherited from Handler

#label, #loop, #messenger

Instance Method Summary collapse

Methods inherited from Handler

action, #initialize, message

Methods included from Droonga::Pluggable

#find_sub_classes, #options

Constructor Details

This class inherits a constructor from Droonga::Handler

Instance Method Details

#handle(message) ⇒ Object



24
25
26
27
28
29
# File 'lib/droonga/plugins/system/status.rb', line 24

def handle(message)
  {
    "nodes"    => cluster.engine_nodes_status,
    "reporter" => reporter,
  }
end