Class: Droonga::Plugins::System::AbsorbDataHandler
- Inherits:
-
AsyncCommand::Handler
- Object
- Handler
- AsyncCommand::Handler
- Droonga::Plugins::System::AbsorbDataHandler
- Defined in:
- lib/droonga/plugins/system/absorb_data.rb
Defined Under Namespace
Classes: DataAbsorber, MissingHostParameter
Constant Summary collapse
- DEFAULT_MESSAGES_PER_SECOND =
100
- DEFAULT_PROGRESS_INTERVAL_SECONDS =
3
- MIN_PROGRESS_INTERVAL_SECONDS =
1
Instance Attribute Summary
Attributes inherited from Handler
Instance Method Summary collapse
Methods inherited from Handler
Methods included from Droonga::Pluggable
Constructor Details
This class inherits a constructor from Droonga::Handler
Instance Method Details
#handle(message) ⇒ Object
383 384 385 386 387 388 |
# File 'lib/droonga/plugins/system/absorb_data.rb', line 383 def handle() unless .request.include?("host") raise MissingHostParameter.new end super end |