Method: PGPool::CommandLauncher#node_information

Defined in:
lib/pgpool/command_launcher.rb

#node_information(node_id) ⇒ Object



54
55
56
57
# File 'lib/pgpool/command_launcher.rb', line 54

def node_information(node_id)
  fail("Invalid node id(#{node_id}) must be between 0 and #{number_of_nodes - 1}") unless valid_node_id?(node_id)
  Response.new(node_id, launch("#{@pcp_node_info_command} #{node_id}"))
end