AppController/djinn.rb
# An Array of DjinnJobData objects, each of which containing information about
# a node in the currently running AppScale deployment.
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
def wait_for_nodes_to_finish_loading(nodes)
    Djinn.log_info("Waiting for nodes to finish loading")
    nodes.each { |node|
      if ZKInterface.is_node_done_loading?(node.public_ip)
        Djinn.log_info("Node at #{node.public_ip} has finished loading.")
        next
      else
        Djinn.log_info("Node at #{node.public_ip} has not yet finished " +
          "loading - will wait for it to finish.")
        Kernel.sleep(SMALL_WAIT)
        redo
      end
    }
    Djinn.log_info("Nodes have finished loading")
    return
  end
def wait_for_nodes_to_finish_loading ( nodes ) Djinn . log_info ( "Waiting for nodes to finish loading" ) nodes . each { | node | if ZKInterface . is_node_done_loading? ( node . public_ip ) Djinn . log_info ( "Node at #{node.public_ip} has finished loading." ) next else Djinn . log_info ( "Node at #{node.public_ip} has not yet finished " + "loading - will wait for it to finish." ) Kernel . sleep ( SMALL_WAIT ) redo end } Djinn . log_info ( "Nodes have finished loading" ) return end
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
nodes
<not_specific>