public synchronized void finished() {
    this.finished = true;
  }
Calculates bootstrap timeout as a function of number of hosts.
@return timeout in milliseconds
ambari-server/src/main/java/org/apache/ambari/server/bootstrap/BSRunner.java