Class: Droonga::Plugins::System::StatisticsObjectCountHandler

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

Direct Known Subclasses

StatisticsObjectCountPerVolumeHandler

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



25
26
27
# File 'lib/droonga/plugins/system/statistics.rb', line 25

def handle(message)
  counts(message.request["output"])
end