Class: Droonga::Plugins::System::StatisticsObjectCountPerVolumeHandler

Inherits:
StatisticsObjectCountHandler show all
Defined in:
lib/droonga/plugins/system/statistics.rb

Instance Attribute Summary

Attributes inherited from Handler

#label, #loop, #messenger

Instance Method Summary collapse

Methods included from DatabaseScanner

#each_index_columns, #each_table, #index_column?, #index_only_table?, #n_columns, #n_records, #n_tables, #reference_table?, #table?, #total_n_objects

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



57
58
59
60
61
# File 'lib/droonga/plugins/system/statistics.rb', line 57

def handle(message)
  {
    label => counts(message.request["output"]),
  }
end