Class: Droonga::HandlerPlugin

Inherits:
Plugin
  • Object
show all
Extended by:
PluginRegisterable
Defined in:
lib/droonga/handler_plugin.rb

Instance Method Summary collapse

Methods included from PluginRegisterable

command, extended, inherited, method_name, processable?, repository

Methods inherited from Plugin

#process, #processable?, #shutdown, #start

Constructor Details

#initialize(handler) ⇒ HandlerPlugin

Returns a new instance of HandlerPlugin.



25
26
27
28
29
# File 'lib/droonga/handler_plugin.rb', line 25

def initialize(handler)
  super()
  @handler = handler
  @context = @handler.context
end

Instance Method Details

#prefer_synchronous?(command) ⇒ Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/droonga/handler_plugin.rb', line 31

def prefer_synchronous?(command)
  false
end