Class: Droonga::Serf::RemoteCommand::Join

Inherits:
CrossNodeCommandBase show all
Defined in:
lib/droonga/serf/remote_command.rb

Instance Attribute Summary

Attributes inherited from Base

#response

Instance Method Summary collapse

Methods inherited from Base

#initialize, #log, #should_process?

Constructor Details

This class inherits a constructor from Droonga::Serf::RemoteCommand::Base

Instance Method Details

#processObject



171
172
173
174
175
176
177
# File 'lib/droonga/serf/remote_command.rb', line 171

def process
  log("type = #{type}")
  case type
  when "replica"
    join_as_replica
  end
end